mypy==2.3.0
# Optional static typing for Python
$ pip install mypy
downloads/wk
0
license
version
2.3.0
python
>=3.10
What is mypy?
Mypy is a static type checker for Python that verifies type annotations in your code before runtime. It helps catch type-related bugs early by analyzing your code without executing it, similar to how compiled languages work. Developers use mypy to reduce runtime errors and improve code reliability, especially in large codebases where type inconsistencies can be hard to spot.