| name | mypy |
| description | Use this skill when the user wants to type-check Python code, find type errors, verify PEP 484 annotations, or enforce static typing. |
mypy Plugin
Python static type checker (PEP 484).
Commands
Check
mypy check run — Type-check Python files
mypy check strict — Type-check with strict mode
Usage Examples
- "Type-check this Python file"
- "Find type errors in my project"
- "Run strict type checking"
- "Verify type annotations"
Installation
pip install mypy
Examples
mypy mymodule.py
mypy mypackage/
mypy --strict mymodule.py
mypy --config-file mypy.ini mymodule.py
mypy --ignore-missing-imports mymodule.py
mypy --strict-optional mymodule.py