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 supported99 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- dmypy 'KeyError' on recheck
- Add option to specify junit xml testsuite name
- mypy incorrectly flags a type-var error when a descriptor overrides a protocol property in a different file.
- Assertion failure crash with shadowed functools module: assert isinstance(singledispatch_obj, Instance)
- `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
- 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
- Docs
- Python not yet supported