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 supported99 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- mypyc: cannot query ClassVar members in __init_subclass__ methods of compiled classes
- Inconsistency for `[func-returns-value]`: Error not reported for `staticmethod`s
- Remove unused files from wheel files
- Stubgen doesn't look at C type's docstring when inferring __init__'s type
- --strict does not include all mypy checks
- immediate numpy arguments not type checked (python 3.10)
- __new__ on abstract classes produces false positive "Cannot instantiate abstract class"
- Narrowing enums causes `.value` to be typed as `Any`
- 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