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 supported104 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- codespell: add config (to ignore), workflow and fix typos it detects + adjust 1 .gitignore to not ignore committed folder
- (🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
- =| and &= allowed for immutable set ABC
- Disallow item access of NotRequired TypedDict entries.
- Fix mishandling of typing.Self in attrs generated inits
- Can't use Callable[..., T] | Callable[..., Awaitable[T]] as a function argument
- AssertionError: Internal error: method must be called on parsed file only
- Fix checking multiple assignments based on tuple unpacking involving partially initialised variables (Fixes #12915).
- TypeGuard on self does not narrow associated TypeVars
- Fixes no error thrown for Final fields declared with init=False and not assigned inside __init__
- Docs
- Python not yet supported