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
- False "type assignment error" when assigning an instance of `Field` class or classes extended from it.
- Better error message when union may not have been narrowed
- Stubgen generates reference to `types.TracebackType` without importing `types`
- Cache not cleared after removing `[[tool.mypy.overrides]]` from `pyproject.toml`
- type inferance from await asyncio.gather() with 6 elements no longer works
- "Message | str | Any" has no attribute "get_param"
- ClassVar[TypeAlias] in dataclass-like classes becomes Any
- Unclear error message: incompatible type "type[str]"; expected "Callable[[_T], _T]"
- stubtest mishandles overloads where param is pos-only in one overload
- (🐞) `type`s/`Instance`s don't join properly with `Callable`s
- Docs
- Python not yet supported