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 supported99 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- [stubtest] Fix false positives for type[TypeVar] defaults
- Clarify error message for TypeVar function
- Update error message for Type application
- Fix narrowing of union types containing StrEnum/IntEnum and Literal
- `UNBOUND_TYPEVAR` error message should be more direct and shorter
- Using type application with a function call gets a wrong error message
- Incorrect note references builtins.pyi instead of the class definition
- mypy is unable to narrow a union type that includes a `StrEnum` subclass and a `Literal`
- Improve t-string support by checking formats, etc
- Pattern matching a dataclass with different field type fails for Python >= 3.13
- Docs
- Python not yet supported