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
- unused-courotine should trigger when using a coroutine call as a condition without awaiting it
- Disallow type(x) if x has a protocol type
- Invalid JUnit XML being generated due to <type> hint
- Maybe add semantical understanding of `assert not TYPE_CHECKING` (similar to `if not TYPE_CHECKING`)?
- (🐞) `Protocol`s that narrow to modules become `Any`
- Request: opt-in rule preventing duplicate error codes
- false "Attempted to reuse member name in Enum definition"
- False positive typing.Self has incompatible type when method uses class' generic type
- Calls to `.get` on TypeVars bound to TypedDict narrow to `object`
- If plugin has same name as top-level module which has been imported before mypy runs (e.g., you are using api), mypy picks up the wrong file
- Docs
- Python not yet supported