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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- chore: add a utility to generate a schema file
- Experience report with some suggestions and a bit of a rant.
- 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"
- Docs
- Python not yet supported