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 supported94 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Can't infer tuple inside match case
- Spurious error for code that fails truthy-bool even when not enabled
- Formatting settings should not bounce mypy-daemon
- [1.12, 1.13] Regression in enum narrowing
- [1.12 regression] Erroneous `Cannot infer type argument` for open & gzip
- 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
- Type narrowed to `Never` when using `TypeIs` with union of callables
- Docs
- Python not yet supported