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
- False negative for calling unimplemented abstract methods
- 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
- Make cache more agnostic to venvs
- false positive errors when calling operator override that returns `Never` from another function that returns `Never`
- Cannot set return type of asynccontextmanagers in Protocol classes
- Different error code when assigning the result of a function to an annotated field
- Docs
- Python not yet supported