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 supported98 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Mypy don't narrow types of 2 variables based on its combination
- --disallow-any-decorated should not flag @staticmethod
- Ignore incompatible type error when variable is checked in if statement
- Fix misleading error message: Mypy shoould not suggest Foo[...] if annotation contains Foo(arg=...) etc.
- False positive for Union[type, ...] and inspect.isclass()
- (🐞) Confusing error message in `.format` call with union
- Docs: mention --no-silence-site-packages
- `@overload` incorrectly reports error if overload param would go to different params of implementation depending on positional vs keyword calling style
- (🐞) error code that is enabled in the config file can't be disabled on the CLI (with `--disable-error-code`)
- Add "is invariant" warning to Set as well as List for situations where a Collection should be used
- Docs
- Python not yet supported