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
- Spurious error for dataclass(slots=True)
- (🐞) `TypeGuard` passed to a `TypeVar` becomes `Any`, not `bool`
- Unpacked TypeVarTuple as a function argument is not compatible with empty tuple as its default
- Helpful note when union may not have been narrowed
- int.__truediv__() accepted by Protocol that effectively requires that an int is returned
- Fix narrowing unions in tuple pattern matches
- Use of ```not``` keyword does not always narrow out type ```None```
- Improved error message from: [directory] is not a valid Python package name
- When given directory mypy only analyzes files with PY_EXTENSIONS
- Mypy/dmypy takes over 16GB of memory
- Docs
- Python not yet supported