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 supported98 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- 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
- [pre-commit.ci] pre-commit autoupdate
- false positive no-any-return from a typed function nested in an untyped function
- Assertion error: `isinstance(ret, Instance)`
- improper inference of lambdas and dataclass constructors used as generic decorator arguments
- Docs
- Python not yet supported