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
- 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
- super() is analyzed differently from super(C, self) in generic subclass context
- lambda input type is `Any` when function type is a union, and no error when lambda does not satisfy any of the types in the union
- Docs
- Python not yet supported