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
- Fix union inference of generic class and its generic type
- mypy --strict doesn't handle wildcard imports of modules that do 'import foo as bar'
- Now overloads with ambiguous `self` are handled properly, refs #11347
- Tuple of iterables are not narrowed after converting it to tuple of tuple
- Provide hint when Union type with None may not have been narrowed
- Add check for comparisons like `None in list/set/tuple`
- Mypy/dmypy takes over 16GB of memory
- Keep `TypeVar` arguments when narrowing generic subclasses with `isinstance` and `issubclass`.
- TypeGuard does not narrow when assignment expression
- Feature request: option that completely disallows typing.cast
- Docs
- Python not yet supported