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
- dict type incorrectly converted (widened?) to object via TypeVar and overload
- enumerating concrete subclasses of an abstract base class causes false positive "Cannot instantiate abstract class X with abstract attribute Y"
- Stubtest: add some hacks so that `sys.monitoring` is checked in typeshed's CI
- `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
- Docs
- Python not yet supported