FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

python-formate/flake8-missing-annotations: Experimental Flake8 plugin to identify missing or incomplete argument annotations. · GitHub

Repository files navigation

flake8-missing-annotations

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):
        pass

For 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

Installation

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

About

Experimental Flake8 plugin to identify missing or incomplete argument annotations.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL