python
Installation
SKILL.md
Python Programming Guide
Toolchain
- Type Checking:
ty check <FILE_PATH> --output-format concise - Lint:
ruff check --fix --unsafe-fixes <FILE_PATH> - Format:
ruff format <FILE_PATH> - Run tests:
uv run pytest - Sync deps:
uv sync --upgrade - NEVER use
python; useuv runinstead
References
When deeply modifying code in these areas, you MUST read the corresponding document first:
references/async-programming.md- before modifying anyio/async codereferences/type-hints-cheat-sheet.md- before modifying complex type annotationsreferences/exceptions.md- before modifying error handlingreferences/logging.md- before modifying logging