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
- Only allow splatting iterables if function takes at least one positional arg
- no error when value of type `type` (aka `type[Any]`) passed to function with generic with constraint, generic inferred as the first constraint
- Add support for PEP-610 editable packages (#12313)
- Type-checking generic of enum.Meta with a custom metaclass fails with code that runs, and passes with code that doesn't run.
- `mypy.version.__version__` is hard to work with
- Consider column numbers when removing duplicate errors
- Constant vs variable as index for none-checking List[Optional[...]]
- (🐞) No error when overload implementation has incompatible return type
- (🐞) False error "statement is unreachable" with `NoReturn` overloaded method
- (📚) Document that `typing.type_check_only` isn't supported
- Docs
- Python not yet supported