Skip to content

v1.0.0 β€” Python Patrol

Latest

Choose a tag to compare

@bBlazewavE bBlazewavE released this 07 Mar 12:28

πŸπŸ” Python Patrol v1.0.0

Static analysis for Python performance anti-patterns & common mistakes β€” with inline PR fix suggestions.

Highlights

  • 15 AST-based rules (performance, correctness, security)
  • Inline PR review comments with one-click fix suggestions
  • Performance evidence from CPython 3.12 benchmarks
  • Zero dependencies β€” pure ast module
  • Auto-fix for 4 rules (PP001, PP002, PP005, PC005)

Usage

- uses: bBlazewavE/python-patrol@v1
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}

See README for full docs.