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 supported94 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- (🐞) `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
- narrowing to generic shouldn't introduce new `Any`
- Skipping the import of parent packages when specifying custom mypy plugins
- `importlib.metadata` does not work with `TypeAlias`
- Docs
- Python not yet supported