ππ 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
astmodule - 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.