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
- contravariant generic with a self-referential base
- Segfault / RecursionError when calling an instance whose class declares __call__ as an attribute of its own type
- [mypyc] AssertionError in get_sequence_type_from_type on `for x in reversed(<list>)` when the item type contains Any
- fix: Remove None-related special-casing during inference with literal contexts
- MyPy does not support subclassing function a argument member with type `type` though pyright does (e.g. pyright 1.1.414)
- PEP 695 variance inference treats a writable Callable[[T], None] attribute as contravariant.
- False positive `list-item`: `list` literal checked against `list[bool]` when the union also contains `Hashable`
- Segfault on type alias that refers to itself through another generic alias (type X = Meta[X])
- Segfault on class parameterised by a TypeVar whose default is itself (TypeVar("T", default="T"))
- Bounded TypeVar inferred as object for nested covariant generic arguments
- Docs
- Python not yet supported