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 supported88 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- (🐞) Incorrect analysis of `while` loop subject
- `next(iter(<Tuple[...]>))` should be a `Union` of the `Tuple` element types, rather than their most descended common ancestor
- MyPy doesn't understand types-boto 2.49.18.20240205 correctly and fails previously-working code
- (🎁) narrow falsey string to `Literal[""]`
- "lax_numpy.float64" is not a valid type in python3.8
- Request: opt-in rule preventing duplicate error codes
- false "Attempted to reuse member name in Enum definition"
- Using numpy types conditionally gives confusing `[assignment]` error
- False positive typing.Self has incompatible type when method uses class' generic type
- Presence of property in Protocol causes false positive in multiple inheritance scenario
- Docs
- Python not yet supported