INNER CODE UNIT · Python
main
panther-labs/panther-analysis · .scripts/claude_review.py:285
def main():
# Skip in non-interactive environments (GitHub Desktop, IDE git, CI)
if not is_interactive():
eprint("Skipping Claude review (non-interactive environment).")
return 0
# Check for claude CLI
if not shutil.which("claude"):
eprint("\u274c 'claude' CLI not found.")
eprint()
eprint("Setup:")
eprint(" 1. Install the Claude CLI: https://docs.anthropic.com/en/docs/claude-code/overview")
eprint(" 2. Run: make install-pre-commit-hooks")
eprint()
eprint("To skip this check: git commit --no-verify")
return 1
# Get changed files