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
- `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
- Better documentation around using different python versions for different modules
- Docs
- Python not yet supported