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
- False positive: "overloaded signature will never be matched" with Self
- module name assumed is __main__ for .pyw files on windows
- torch-nn-functional-mypy-bug-when-torchvision-installed
- Mypy cannot guess callable return type (`Tuple[Type[T], ...] -> T`)
- `functools.reduce` over sets: empty set not accepted without annotation
- `functools.reduce` over sets becomes unacceptable when used in a larger expression
- assignment to `_` inside a function incorrectly becomes `Any`
- constrained TypeVar and star operator incompatible type
- `--untyped-calls-exclude` does not exclude some packages/libraries
- Set the config file’s location with an environment variable.
- Docs
- Python not yet supported