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
- 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
- Number of source files checked in output is misleading with -m specifiers
- First overload picked overeagerly when overloading on self type
- Misleading error when using a dict of keyword args
- Docs
- Python not yet supported