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
- Cannot copy symbol nodes
- Support __call__ on metaclasses
- Does not recognize __func__ of methods
- Stubgen creates instance methods instead of class variables for C extensions
- __new__ on abstract classes produces false positive "Cannot instantiate abstract class"
- Stubgen user documentation of modules
- Narrowing enums causes `.value` to be typed as `Any`
- Safe handling of `Self` typed attributes w.r.t. overrides.
- Error when only assigning one of two typevars to concrete types (but no error when assigning two or zero)
- Automatically use `Self` type even if it doesn't appear in method annotation
- Docs
- Python not yet supported