pytest plugin to run pydocstyle
pip install pytest-pydocstyle
pytest --pydocstyle ...
For detail, please see pytest -h
after installation.
The behavior can be configured in the same style of pydocstyle.
(cf. Configuration — pytest documentation and Configuration Files — pydocstyle documentation)
For example,
[pydocstyle]
convention = numpy
add-ignore = D400,D403
[tool:pytest]
addopts = --pydocstyle
The MIT License
Copyright (c) 2019 OMOTO Tsukasa