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 supported104 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Generic TypeAlias does not infer types
- Special handling for InitVar #12046
- Fixes no error thrown for Final fields declared with init=False and not assigned inside __init__
- dmypy does not work right with disable_error_code/enable_error_code
- Type inference into function
- Support conditionally importing from typing_extensions
- Narrowing enums causes `.value` to be typed as `Any`
- Error when only assigning one of two typevars to concrete types (but no error when assigning two or zero)
- Namespace packages supported by default?
- `NoReturn` on `__new__` and `__init__` disables accessing `@classmethod`s and `ClassVar`s directly from the class
- Docs
- Python not yet supported