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
- 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
- TypeVarTuple as type arg for subclasses of generic TypedDict (fixes #16975)
- metaclass instance variable should be seen as class ClassVar
- Incorrect stub generation for subclasses of `pydantic.BaseModel`
- implicit_reexport default seems to be wrong
- Docs
- Python not yet supported