···11---
22name: modern-python
33-description: Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly!
33+description: Use when writing, reviewing, or refactoring Python to ensure adherence to modern best practices (type syntax, `uv` instead of `python`, linting, formatting, etc.)
44---
5566- Never use `python`. Use `uv` instead of `python`
···1111- Format with `uvx ruff format .`
1212- Lint with `uvx ruff check .` and `uvx ty check`
1313- Look before you leap (check conditions before acting)
1414+- Default to no backwards compatibility preservation
1515+- Declare variables close to use