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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Inline any(filter(...)) false-positive errors
- dict type incorrectly converted (widened?) to object via TypeVar and overload
- Untrue unreachable statements with list pattern matching
- 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`
- Type inference for `max()` "tainted" by `default`
- 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 *
- Generalization of fixed-length tuples to variadic tuples in self-typed generic class constructors
- Docs
- Python not yet supported