px
pypx

flake8-docstrings

v1.7.0

Extension for flake8 which uses pydocstyle to check docstrings

5 KB Python 3.7+ py2.py3-none-anyMIT License2 deps Likely Unmaintained
Diff
$ uv add flake8-docstrings

flake8-docstrings

A simple module that adds an extension for the fantastic pydocstyle_ tool to flake8_.

Simply install this extension:

pip install flake8-docstrings

and run flake8.

You can set the pydocstyle convention_ at the command line using:

$ flake8 --docstring-convention numpy ...

Or, adding docstring-convention=numpy to your flake8 configuration file. The available set of conventions depends on the version of pydocstyle installed. The default is pep257, pydocstyle v2.0.0 added numpy (for the numpydoc standard), while pydocstyle v4.0.0 added google.

In order to choose a custom list of error codes, use the special value docstring-convention=all, then choose the codes you want checked using flake8_'s built-in --ignore/--select functionality.

Report any issues on our bug tracker_.

Details

Version
1.7.0
License
MIT License
Python
>=3.7
Maintainer
Simon ANDRÉ

Maintainers