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
- Adding a field to a callback protocol changes the checks performed by mypy
- False positive [unreachable] with `TypeIs`
- Provide hint when Union type with None may not have been narrowed
- Possible bug in mypy when attribute and parameter share name on same line.
- Annotating the decorator with arguments that works for both sync/async methods
- TypedDict totality ignored when instantiating a not type-hinted class variable typed dict
- [1.10/11] Regression with Any in functools.wraps()
- Mypy v1.10.0 errors out when functools wraps a method
- Document TypeVarLike defaults
- Variadic `*args` where `args: Union[Tuple[...], Tuple[...], ...]` are _never_ checked [False Negative]
- Docs
- Python not yet supported