pydocstyle Command Examples

Statically check Python scripts for compliance with Python docstring conventions. More information: https://www.pydocstyle.org/en/latest/.

pydocstyle {{file.py|path/to/directory}}

pydocstyle {{[-e|--explain]}} {{file.py|path/to/directory}}

pydocstyle {{[-d|--debug]}} {{file.py|path/to/directory}}

pydocstyle --count {{file.py|path/to/directory}}

pydocstyle --config {{path/to/config_file}} {{file.py|path/to/directory}}

pydocstyle --ignore {{D101,D2,D107,...}} {{file.py|path/to/directory}}

pydocstyle --convention {{pep257|numpy|google}} {{file.py|path/to/directory}}