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
- In a function call, if a variable accessed in an iteratable doesn't have an attribute, mypy picks the first overload available, creating spurious further list-item errors.
- Class variable in multiple base classes incompatible
- Feature request: option that completely disallows typing.cast
- Feature request: option that prohibits any use of type:ignore, and other type-checking-suppression mechanisms
- Function declared to return list[int] actually returning list[Any]
- Can't match a TypedDict with a Protocol
- AssertionError in make_module_translation_map
- Warning/Error for unassigned expressions/return values
- `--strict-equality` flag not working with membership operator and `Literal` types
- Bad error with Protocol and class heirarchy with overloads
- Docs
- Python not yet supported