Skip to content

Repository files navigation

flake8-params

A flake8 plugin which checks for mismatches between function signatures and docstring params.

DocsDocumentation Build StatusDocs Check Status
TestsLinux Test StatusWindows Test StatusmacOS Test StatusCoverage
PyPIPyPI - Package VersionPyPI - Supported Python VersionsPyPI - Supported ImplementationsPyPI - Wheel
ActivityGitHub last commitGitHub commits since tagged versionMaintenancePyPI - Downloads
QACodeFactor GradeFlake8 Statusmypy status
OtherLicenseGitHub top languageRequirements Status

Installation

flake8-params can be installed from PyPI.

To install with pip:

$ python -m pip install flake8-params

flake8 codes

CodeDescription
PRM001PRM001 Docstring parameters in wrong order.
PRM002PRM002 Missing parameters in docstring.
PRM003PRM003 Extra parameters in docstring.

Use as a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

- repo: https://gitlab.com/pycqa/flake8rev: 3.8.1hooks:
- id: flake8additional_dependencies: [flake8-params==0.3.2]

About

A flake8 plugin which checks for mismatches between function signatures and docstring params.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages