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
- Method as variable inside class fail to count parameters
- Erroneous arg-type error with Mapping and reversed Mapping
- Mypy doesn't recognize that different string literals in if/else statement match a union of string literals
- Type narrowing broken with dict items
- Cannot infer generic parameter types within `match` statements
- redundant-expr does not work with TypeVar with multiple constraints
- Cryptic "object is not iterable" warning when __iter__ is incorrectly annotated.
- Generic TypeGuard inferred as Never when passed as Callable with recursive Union type
- type narrowing vs assert vs unreachability changed in PR #17818 (between mypy 1.11 and 1.12)
- Add explanations of the yield statement to common_issues.rst Fixes #17996
- Docs
- Python not yet supported