python
Installation
SKILL.md
Python Skill
Type Hints
- Use type hints on all function signatures
- Use
typingmodule for complex types - Run
mypy --strictin CI
def process_user(user_id: int, options: dict[str, Any] | None = None) -> User:
...
typing module for complex typesmypy --strict in CIdef process_user(user_id: int, options: dict[str, Any] | None = None) -> User:
...