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 supported97 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Syntax errors in the Python source files give exit code 2 when they should give 1 as exit code
- Clean-up get_proper_type() calls in fine-grained code
- Final (context-sensitive Literal) doesn't support type narrowing
- Bad interaction between ParamSpec and TypeVarTuple
- Type confusion with protocol attributes when explicitly subclassing protocol
- Configuration to turn off disjoint base checks for custom metaclasses
- attr-defined error is raised when reading default value of an `InitVar` field of a dataclass
- mypy does not understand that in multiple assignment any involved expressions keep their type until the end of all assignments
- [docs] Explain ignoring unused-ignore more explicitly
- mypy flags "overlap between argument names and ** TypedDict items" with total=False
- Docs
- Python not yet supported