mypy
Installation
SKILL.md
Mypy
Workflow
- Identify runtime Python versions, packaging layout, and current checker usage.
- Standardize one canonical mypy config and one invocation contract.
- Stabilize imports and third-party typing before raising strictness.
- Roll out strictness incrementally by package ownership.
- Wire deterministic checks into CI with pinned versions.
- Track suppressions and reduce
Anyescapes over time.
Preflight (Ask / Check First)
- Check whether the repo uses
mypy.ini,.mypy.ini,pyproject.toml, orsetup.cfg. - Check whether multiple configs already exist across subdirectories.
- Check target runtime Python versions versus tooling Python versions.
- Check whether the codebase depends on untyped third-party libraries.
- Check whether framework plugins are required for typing fidelity.