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
- `test_update_data` fails when `-x` is in `PYTEST_ADDOPTS`
- Parameters for a call to a function wrapped in a lru_cache are not checked
- Identical, anonymous intersection types causes incompatible import [assignment] error when imported via *
- Checking elements of a `list[str | None]` after discarding the possibility of `None`
- type inference is fragile for protocols like SupportsKeysAndGetItem
- Support frozen=TYPE_CHECKING for dataclasses
- mypy gets confused between non-re-exported import and a submodule of the same name
- (🎁) denote `type_visitor` as private (`_type_visitor`)
- mypyc: Any subclass of BytesIO will always generate an exception when instantiated
- Mypy rejects `cls.__repr__(obj)` when `cls: type[Any]`
- Docs
- Python not yet supported