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
- When given directory mypy only analyzes files with PY_EXTENSIONS
- Mypy/dmypy takes over 16GB of memory
- Incorrectly narrowed Literal in while loops
- Combining two type checks with `and` deduces `Any` if the first is `Any`
- Incorrect widening of `T | None` with unions to `builtins.object` in generic functions
- Keep `TypeVar` arguments when narrowing generic subclasses with `isinstance` and `issubclass`.
- Mypy does not honor implicitly abstract class in stubs; false positive about ABCMeta
- Report protocol problems in no_variant_matches_arguments if possible
- ParamSpec with Concatenate issue when function has union and kw args with strict=True
- Args with a generic type will use the mother type, rather than a literal
- Docs
- Python not yet supported