Experimental Flake8 plugin to identify missing or incomplete argument annotations.
This plugin identifies functions like this, where one or more annotations is missing:
def foo(a, b, c: int):
passFor functions whose names start with test_, it ignores common pytest fixtures which have no easy annotation
(e.g. monkeypatch, capsys).
It also ignores missing return types for those functions, since the return type is almost always unimportant.
See sco1/flake8-annotations for a plugin with a broader scope than this one.
| Tests | |
|---|---|
| Activity | |
| QA | |
| Other |
flake8-missing-annotations can be installed from GitHub.
To install with pip:
$ python -m pip install git+https://github.com/python-formate/flake8-missing-annotations