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
- (🐞) `|` operator union assigned to a variable inferred as `_SpecialForm`, not `UnionType`
- Support for Union[*TypeVarTuple]
- Exhaustiveness checks (assert_never) don't work with 2-tuple of enums
- Wrong test result for default values of Mapping arguments
- Support name mangling
- mypy treats Enum's __call__ as calling __init__
- A decorator implementing the descriptor protocol is incorrectly regarded read-only
- Type hint `__lt__` as `(self, other: Self) -> bool` makes mypy think that `__le__` is not supported.
- Type alias for a union of two @runtime_checkable Protocols triggers "Cannot use parameterized generics in instance checks"
- dmypy Suggest assertion error in `bind_function_type_variables`
- Docs
- Python not yet supported