mypy
Reference static type checker for Python implementing PEP 484+ gradual typing, strict mode checks, and plugin hooks for Pydantic and SQLAlchemy.
ID: tech:mypy | Kind: developer_tool | Latest: v2.4.1 | License: MIT | Verified: 2026-12-01
When to use
- A Python codebase needs CI-enforced static type safety across FastAPI, Pydantic, SQLAlchemy, or Django with official type-checker plugins.
- You want gradual adoption from untyped scripts to `--strict` module-by-module type checking.
When to avoid
- You want real-time sub-50ms IDE language server diagnostics as you type (pair mypy in CI with Pyright/basedpyright or ty in your editor).