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 supported94 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- (🐞) Column marker for `for` target is wrong, it's where the `for` keyword is, not where the target is
- `mypy` option to error if there's a missing `py.typed`
- Inherit Pydantic BaseModel with optional generic attributes inside a function block
- Inconsistent optional type resolution for AbstractSet and Set
- [stubtest] Stubtest reports incorrect argument name errors for overloads with positional only arguments
- Incorrect and misleading error message when `.mypy_cache` is hot (`[override]` error on `__prepare__()`)
- MyPy reports errors when performing nested element access using a ``TypeVar``-parameterized generic type
- a nonlocal in class nested within a function causes the referenced var to disappear from the outer scope
- Idiomatic tuple element replacement
- Allow Callable type hint before function definition
- Docs
- Python not yet supported