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
- False positive in case of custom __setattr__ that changes the type of the attribute
- 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
- no warning when `dataclass` extends non-dataclass with an `__init__` method
- dmypy: Provide an option to make dmypy quieter.
- (🐞) the construction of a variable of `type`, applied with a type variable bound to a union, does not produce an type that is assignable to that type variable
- `singledispatch.register` doesn't typecheck registration of generic functions
- mypy doesnt use unitest.TestCase.assertIsInstance checks for type narrowing
- Docs
- Python not yet supported