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
- Enable local partial types by default
- Disallow assignment of `Any` to known/explicit types and/or Introduce `Unknown` type
- subtype dict unpack
- Turn on strict equality checking by default
- Proposal: infer obvious parameters and return types
- Confusing error message: List item 0 has incompatible type "Type[Linear]"; expected "Type[Linear]"
- Overlapping overload detection fails when signature contains TypeVar
- Overload validation does not properly handle implied subtype relationships (e.g. int and float)
- nested isinstances lose type information
- Unable to make generic subclass using type variable with value restriction
- Docs
- Python not yet supported