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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Disallow explicit type aliases in function scope
- Callables like `operator.call` produce `arg-type` error with callables that take `*args: Unpack[Ts]` and >= 1 keyword argument
- stubgen: mangles from _typeshed import Incomplete
- Function returning union of type variables has inference/unification behaviour change when assigned to explicitly-typed location
- False positive errors with anonymous and inline declaration of namedtuple types
- More specific type inference from structural pattern matching
- `--untyped-calls-exclude` should consider inheritance
- Cache re-used incorrectly
- `--untyped-calls-exclude` does not work with `super()`
- Exhaustive checks with `assert_never` when using `match` on a 2-tuple fails
- Docs
- Python not yet supported