pydocstyle is a static analysis tool for checking compliance with Python
docstring conventions.

pydocstyle supports most of PEP 257 out of the box, but it should not be
considered a reference implementation.
