mypy
https://github.com/python/mypy
Python
Optional static typing for Python
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Separate output tool error and mypy warnings (stderr, stdout, file)
- Allow TypeVarTuple as type argument for subclasses of generic TypedDict
- Add a function to search for pyproject.toml in a project root
- (🐞) Column marker for `for` target is wrong, it's where the `for` keyword is, not where the target is
- `mypy` option to error if there's a missing `py.typed`
- Inherit Pydantic BaseModel with optional generic attributes inside a function block
- Inconsistent optional type resolution for AbstractSet and Set
- [stubtest] Stubtest reports incorrect argument name errors for overloads with positional only arguments
- Incorrect and misleading error message when `.mypy_cache` is hot (`[override]` error on `__prepare__()`)
- MyPy reports errors when performing nested element access using a ``TypeVar``-parameterized generic type
- Docs
- Python not yet supported