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 supported97 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Assertion failure crash with shadowed functools module: assert isinstance(singledispatch_obj, Instance)
- feat: error for Final fields with init=False (#13119)
- `reveal_type()` cannot get `*Ts` type of the instance of a generic class
- [dev] wrong-version version tests disappear completely, but should probably skip instead
- With a new syntax generic function, `T` cannot be used to set a default value to a parameter with `cast()` while `T` can be used for a parameter and return type
- Cannot combine special types in alternative TypedDict syntax
- detect invalid `Literal[Foo.foo | Foo.bar]` → `Literal[Foo.foo, Foo.bar]`
- Assignment to Final attribute incorrectly flagged in conditional assignment within __init__
- About `TypeVar`, passing a `name` keyword argument to `name` keyword and positional parameter gets error
- Enable --allow-redefinition-new on self check
- Docs
- Python not yet supported