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 supported105 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Function rejects tuple argument when argument type context is a union involving a tuple-bound typevar
- [Regression 1.19.1 -> 1.20.0] `value in container` based narrowing causes false negatives.
- Fix false positive comparison-overlap for str/int enum members
- Descriptor access fails for complex generics
- `TypeIs` with `isinstance` fails to narrow
- wrong inference with nested unpacking
- Literal `(*tuple_of_strings, "string")` not assignable to `tuple[str, *tuple[str, ...]]`
- fastparse and native parser assign different line numbers to nested subscripts in multi-line type annotations
- #Fix 21316
- Will mypy work universally again? Or is the list of supported platforms now more or less set in stone?
- Docs
- Python not yet supported