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 supported104 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Fix checking multiple assignments based on tuple unpacking involving partially initialised variables (Fixes #12915).
- TypeGuard on self does not narrow associated TypeVars
- Fixes no error thrown for Final fields declared with init=False and not assigned inside __init__
- Test and document `MYPY_FORCE_COLOR`/`FORCE_COLOR`
- Add new flag for warning about instantiating classes with declared but uninitialized attributes
- mypyc incremental failures on master
- Mypy now treats classes with `__getitem__` as iterable
- Editable installs are not recognized as having typing when using py.typed (setuptools v64 issue)
- stubtest: Fix `TypeType` subtyping problem
- Add `--warn-needless-override` option to `stubtest`
- Docs
- Python not yet supported