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
- Mypy incorrectly requires `__next__()` on the iterable of a `for` loop (regression from 0.942).
- Enforce conditional values are booleans
- Keyword arguments to `__str__` are rejected
- match: Incorrect "Incompatible types in capture pattern" when type has already been narrowed
- (🐞) `|` 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__
- Docs
- Python not yet supported