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 supported97 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- `type A[T] = T; reveal_type(A[int])` shows `typing.TypeAliasType` rather than `types.GenericAlias`
- `ClassVar` cannot contain `Self` type in generic classes
- Defaulted TypeVar cannot be set to Never?
- mypy does not narrow between Generic type[_T] and Callable[[Any], _T]
- Write some tests that enforce that disabled_error_codes and enabled_error_codes do not affect program behavior
- [docs] let extra-checks example compile
- The result of `type(TypeVar)` is not hashable
- Errors on @overload in supertype signatures
- False positive error on `**kwargs` with `Mapping[Literal, Any]` type
- Setting two arguments to `Optional` within `reveal_type()` doesn't get error
- Docs
- Python not yet supported