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
- ClassVar[TypeAlias] in dataclass-like classes becomes Any
- Unclear error message: incompatible type "type[str]"; expected "Callable[[_T], _T]"
- stubtest mishandles overloads where param is pos-only in one overload
- (🐞) `type`s/`Instance`s don't join properly with `Callable`s
- Function's argument type inference is affected by the functions return type when in a comprehension
- Decorators over `__init__()` make classes unconstructable until after the class is declared, even within functions
- Cannot infer type of lambda regression with mypy 1.9
- While loop prevents triggering "no return statement"
- Overflow errors in `constant_fold_binary_float_op` and `constant_fold_binary_int_op`
- Change end line and column for untyped function defs to line of function definition
- Docs
- Python not yet supported