Py Review

Python specialist code review — PEP 8, type hints, Pythonic idioms, security

Invoke the python-reviewer agent to perform a comprehensive Python code review.

If an argument is provided and is a number, treat it as a GitHub PR number. If no argument, review local uncommitted changes (git diff --staged and git diff).

The agent will:

  1. Establish review scope
  2. Run mypy, ruff, or flake8 if available
  3. Review against Python checklist (security, PEP 8, type hints, Pythonic patterns)
  4. Report findings with severity levels and approval verdict