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
- TypeGuard does not narrow when assignment expression
- Feature request: option that completely disallows typing.cast
- Support narrowing literals and enums using the in operator in combination with list, set, and tuple expressions.
- Better error message when union may not have been narrowed
- ClassVar[TypeAlias] in dataclass-like classes becomes Any
- Unclear error message: incompatible type "type[str]"; expected "Callable[[_T], _T]"
- Change end line and column for untyped function defs to line of function definition
- Incorrect stub generation for subclasses of `pydantic.BaseModel`
- Better documentation around using different python versions for different modules
- Tracking mypy releases (mark a tag as release)
- Docs
- Python not yet supported