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
- @declared_at method crashes mypy when class is imported from a different module
- `builtins.sum`: Spurious error for operands having `__add__` defined using `partialmetho`
- Unexpected Errors When Using Invariant, Covariant, and Contravariant Type Variables in Protocols for `__class_getitem__`
- Attributes without a default cannot follow attributes with one
- Enable checking for f strings
- Incorrect type narrowing for `x in y` pattern when `x` is `type[T]` and `y` is an iterable of class objects
- False Positive when assigning to union type as dictionary key
- Feature Request: Support for Enabling/Disabling Specific Error Codes similar to Pylint
- Passing self to a generic function that accepts Self
- `stubgen --inspect-mode` fails while non-inspect mode works ok
- Docs
- Python not yet supported