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
- Generic subclass of a generic class, using a constrained TypeVar is mishandled
- Generic TypedDict and inferring return value
- MyPy fails to check `TypedDict.update` call with only explicit keyword arguments
- Variance inference gets lost with union types
- `attr-defined` on modules depends on imports in other files
- incompatible override false positive on method that uses descriptor with contravariant generic
- Unexpected Errors When Using Invariant, Covariant, and Contravariant Type Variables in Protocols for `__class_getitem__`
- 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
- Docs
- Python not yet supported