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
- Return types for Overloads with "Optional[TypeVar]" arguments are deducted as just "object"
- Improve flow sensitivity, using SSA form.
- Support exhaustive checking for βinβ operator.
- Type narrowing fails for classes with custom `__getattr__`
- stubtest raises an exception when a `classmethod`'s first parameter not named `cls`
- Overloaded class methods not supported by Protocol
- Mypy error with tuple types Including TypedDict in return
- Typeshed import cycle causes mypy to start claiming a fixed-length tuple type alias declared with `TypeAlias` is "not valid as a type"
- (π) `(*args: Any)` acts inconsistently to how `(*args: Any, **kwargs: Any)` behaves
- Allow keyword arguments when creating namedtuple
- Docs
- Python not yet supported