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
- Allow setting final instance attributes in __new__
- Safe cast (upcast)
- Fine-grained incremental step does lots of spurious stat() calls
- Reusing variable name in different scopes
- mypy gives 'not defined' error for use after global declaration
- Give better error message if type inference fails because of unsatisfiable upper bound
- Default values for generic attributes are unsafe
- error in argument when using chained function-call
- Prefer `__new__` over `__init__` for determining callable type of a class
- mypy fails to recognize functions as generators when `sys.platform` is used in conditions
- Docs
- Python not yet supported