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 supported94 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- dmypy crashes from RecursionError for some complex expressions (fastparse)
- Initial attempt at fixing issue-17706
- 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
- False positive when using `Self` as the return type with multiple base classes
- 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`
- Docs
- Python not yet supported