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
- False positive in case of custom __setattr__ that changes the type of the attribute
- Bug in return type of generic static method when called on generic alias (regression in 0.950)
- Confusing error when subclassing `var.__class__`
- Inconsistency in `reveal_type(some_type)`
- Literal slicing of a variable-length tuple does not work
- Unsoundly accepts generic function with generic mutable default parameter
- Checking Generic Type at Runtime
- `isinstance` fails to narrow generic value bound to a union on the `else` branch
- no warning when `dataclass` extends non-dataclass with an `__init__` method
- dmypy: Provide an option to make dmypy quieter.
- Docs
- Python not yet supported