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 supported93 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- decorated classes trigger Incompatible types in "await" (actual type "DecoratedClass", expected type "Awaitable[Any]")
- `Attribute 'arguments' of 'FuncItem' undefined` in `get_type_analyze_hook` with caching
- return value of sorted() cannot be upcast
- fix: Allow `ClassVar` descriptors to be assigned to from instances
- (false positive) Using `@final` decorator on a `Protocol` class results in an error in most cases
- Simple `Literal` type narrowing via pattern matching is broken
- Variadic tuple unpacking requires a star target -- why?
- Daemon mode mypy checks way more files the second time with the same command run
- mypy --strict doesn't handle wildcard imports of modules that do 'import foo as bar'
- Python 3.13 tracking issue
- Docs
- Python not yet supported