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 supported105 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Descriptor access fails for complex generics
- `TypeIs` with `isinstance` fails to narrow
- wrong inference with nested unpacking
- Literal `(*tuple_of_strings, "string")` not assignable to `tuple[str, *tuple[str, ...]]`
- fastparse and native parser assign different line numbers to nested subscripts in multi-line type annotations
- #Fix 21316
- Will mypy work universally again? Or is the list of supported platforms now more or less set in stone?
- Error on generic NamedTuple method that uses constrained type parameter
- Python 3.15 tracking issue
- Improve error message for dotted names resolved through variables or functions
- Docs
- Python not yet supported