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
- 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
- Mypy runs really slow on a complicated, generator-heavy function
- Test is_proper_subtype with string literals
- [docs] Added note about negative narrowing for custom type guards
- Overeager type narrowing
- Detect exhaustiveness in partially-defined variable checks
- Docs
- Python not yet supported