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
- False positive when accessing a TypedDict in a list comprehension
- Regression: Unclear error message when using `Any`
- MyPy fails on Python 3.14 PEP 750 template string (tstring, t-string), e.g. `t'{42}'`
- Fix wrong names listed in "too few arguments" message
- Code after `yield from` a generator that cannot end should be unreachable
- feat(overloads): Expand finite sum types into a union of possible types
- `func-returns-value` false positive for union type?
- No-field class derived from `dataclass_transform` base class uses base class's constructor signature
- Comparison operators emit "Unsupported operand types" when using `isinstance` to narrow `TypeVar` to union of numeric types
- `[mypyc]` indexing fixed-length tuples is extremely slow and gets slower with increse in length
- Docs
- Python not yet supported