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
- Spurious error for code that fails truthy-bool even when not enabled
- Formatting settings should not bounce mypy-daemon
- Overloads in generic classes are extremely slow when using generic self
- A `class MyCallable(Protocol[T]): def __call__(self) -> T: ...` behaves differently, and worse, than a `Callable[[], T]` for the purposes of type inference.
- constrained TypeVar does not allow default of one of the constraint choices
- Fix `[func-returns-value]` not being trigged when calling decorated functions
- Make cache more agnostic to venvs
- false positive errors when calling operator override that returns `Never` from another function that returns `Never`
- Add support for literal addition
- Cannot set return type of asynccontextmanagers in Protocol classes
- Docs
- Python not yet supported