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 supported84 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Return type of function overload is ignored if parameter has type Any
- type-checking of __delete__ in descriptor protocol is insufficient
- "if condition is always false [redundant-expr]" false positive when variable set in a loop after the conditional
- Mypy does not narrow class type when a `→ NoReturn` (`→ Never`) member method is called
- Upcasting causes incompatible types in assignment with `TypedDict`
- False positive `unreachable` when variable is set and reset inside loop
- Run pyupgrade on the sources
- confusing type error when using overloads
- Flag Iterable is inferred as Iterable[builtins.object] instead of the actual class name
- Mypy stuck with polynomial using NumPy
- Docs
- Python not yet supported