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 supported103 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Callable vs Protocol with `self` argument
- `!= (None, None)` Narrowing only in else branch
- [stubtest] False positive involving overloaded function with default argument for parameter with type variable
- `x in y` doesn't report errors when `x` is not `str` and `y: union | involving | str`
- Support `@deprecated` on overloaded property setters
- Incorrect type narrowing when swapping variables after isinstance check
- Union changes in Python 3.14 crash mypy
- arg-type in chained dict.get
- Assertion failure crash: `assert isinstance(node, Var), node` when dataclass has namedtuple() field
- Ignore plugin-generated members when inferring PEP 695 variance
- Docs
- Python not yet supported