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
- false "Attempted to reuse member name in Enum definition"
- Using numpy types conditionally gives confusing `[assignment]` error
- False positive typing.Self has incompatible type when method uses class' generic type
- Presence of property in Protocol causes false positive in multiple inheritance scenario
- Calls to `.get` on TypeVars bound to TypedDict narrow to `object`
- If plugin has same name as top-level module which has been imported before mypy runs (e.g., you are using api), mypy picks up the wrong file
- str counts as a Callable[..., str], but not as a Callable[..., TypeVar]
- The attrs.field converter parameter does not support higher-order functions.
- stubtest: Add a `--ignore-keyword-only` argument
- Descriptors misbehave with `NoReturn`/`Never`, with `@overload`s, etc.
- Docs
- Python not yet supported