What problem does it solve?
This Skill helps teams enforce modern Python 3.11+ standards, ensure consistent style, typing, and clear docstrings, reducing code-review churn and improving readability.
Core Features & Use Cases
- PEP 8 conformance and formatting across Python codebases.
- Enforced type hints and modern typing patterns (PEP 484/585, PEP 604).
- Docstring style enforcement (Google-style) to improve maintainability.
- Integrates into development workflows (local checks, PR reviews, CI) to catch issues early.
- Use Case: A team migrating to Python 3.11+ ensures new code follows standardized guidelines automatically during reviews.
Quick Start
Install the required tooling (ruff, pycodestyle, mypy) and run the checks on your codebase.
- Run full style checks: python scripts/check_style.py src/ --fix
- Validate formatting only: python scripts/check_pep8.sh src/
- Auto-fix issues: scripts/fix_style.sh src/