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 supported87 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy![CodeTriage badge for python/mypy](/python/mypy/badges/users.svg?count=87)
Help out
- Issues
- Mypy fails type-check when using `Generic["Something"]` instead of `Generic[Something]`
- Fix `RawExpressionType.accept` crash with `--cache-fine-grained`
- Class structural pattern matching always returns `Any` as type
- (🐞) can't use def from one base to satisfy another
- Spurious redef warning in an odd situation with type(None) plus TypeAlias plus a later # type: ignore
- Another AssertionError with TypedDict and --cache-fine-grained in v1.11.0
- type of expression "Literal['fred']" wrong
- `partial` plugin does not handle overloads
- TypeError: mypy.types.TypeVarId object expected; got int
- Overloads not resolved correctly when argument is `Any` and return types use `TypeGuard` or `TypeIs`
- Docs
- Python not yet supported