What problem does it solve?
This brief provides a structured set of rules to help developers write clean, reliable Python code and avoid common pitfalls in modern projects.
Core Features & Use Cases
- Enforces functional, declarative programming styles where appropriate, and discourages unnecessary class-based patterns to keep code simple and testable.
- Specifies import and environment handling practices, including avoiding environment lookups at runtime and preferring explicit environment access patterns.
- Guides typing, error handling, and modernization for Python 3.13, with strong guidance against brittle patterns like overuse of isinstance and excessive try/except blocks.
- Useful for code reviews, onboarding new contributors, and maintaining large codebases that require consistent style and safety.
Quick Start
Follow these guidelines whenever you write Python code to ensure clean, safe, and maintainable implementations.