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 supported96 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Mypy is unable to detect if a builtin class supports a generic protocol. Unexpected behavior with custom classes too.
- Limited inference with union of callables and assignment to a union
- TypeVar leaks out of `__init__` with self-type
- Conditional statements don't work inside a NamedTuple class body
- Mypy disallows overriding a generic type attribute with a property
- Emit warning for invalid use of quoted types in union syntax
- Dataclass doesn't match a protocol if a field is Callable (expected settable variable, got read-only attribute)
- Add support for TypedDict __extra_items__ (PEP 728)
- 1.14 Release Tracking Issue
- Issue with TypeVar bound to a union and methods returning Self
- Docs
- Python not yet supported