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
- Don't use builtins.function and others anymore
- [Bug] Using `filter` in `itertools.chain` makes them both infer wrong types.
- SupportsRound[int] hinted functions work with floats if round is called with no additional args
- dmypy run stuck with previous module names
- Support using Literal on __getattr__ and __getattribute__
- False negative for restricted self in subclass
- Covariant type variable error in nested function
- Feature request: Provide a type constructor that derives a Protocol from another type
- Recognize platform.system() as well as sys.platform
- __set_name__ isn't checked
- Docs
- Python not yet supported