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
- Bad circular imports are not rejected
- Inferring an optional type when first initializer uses non-optional type
- Type variables bound by a generic class make no sense in static or class methods.
- defining self.__call__ makes the class callable when it isn't
- Unsupported operand types using += with floats initialized to 0 (not 0.0)
- cannot infer (or provide) types of lambdas
- Strict optional doesn't recognize "None in (...)" tests
- Unsupported operand types for + (List[A] and List[B]) when B extends A
- Soundness bugs with Callable[..., T] and partial
- Add flag prohibiting annotation by Any resulting from an unanalyzed module
- Docs
- Python not yet supported