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 supported98 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- 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
- `tuple[*Ts]` subtype with extra type parameter not gradually assignable to itself
- MyPy fails type narrowing on `not issubclass(X, type[T]): raise`
- Docs
- Python not yet supported