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 supported105 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- [mypyc] Fix native int shifts by negative or too large counts
- Add IndexExpr to expression cache
- Inherited self-annotated `__init__` overload does not solve a generic subclass's type parameters
- The metaclass property takes precedence over class attributes.
- Prevent quadratic runtime with generic overloads
- overloaded __post_init__ in a dataclass: [override] error for an overload item that does not take the InitVar type
- comparison of two operands of the same type calls the reflected method first when __lt__ and __gt__ are defined in different classes
- subscripting a class with a TypeVarTuple followed by a defaulted ParamSpec reports "Can only replace ParamSpec" and infers Any
- binary operator on class objects ignores the right operand's reflected method when its metaclass subclasses the left operand's metaclass
- Read --doc-dir once when stubgen processes multiple C modules
- Docs
- Python not yet supported