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
- --bazel not using relative path in cache files for imports
- Guidance on how to write a `mypy` plugin to workaround limitations related to `MetaPathFinder` / `PathEntryFinder` instances
- Type-Incompatibility of `round()` when used in compound-statements
- `possibly-undefined` false positive when assigning variable for every case in match statement for all possible values
- Some `isinstance(obj, os.PathLike)` widen the type of `obj`
- New type inference processes `itertools.groupby` key as `Any`
- False-positive `call-arg`: Too many arguments for "enum.auto"
- Using `Never` as return type for `__new__` results in classmethods not being recognised. Inferred type for class is `Callable[[], NoReturn]`.
- Using `classmethod` of generic alias of a generic type and `--disallow-any-generics`
- MyPy is nondeterministic across runs
- Docs
- Python not yet supported