Skip to content

fix D212 and D213 are exclusive

Christian Witzler requested to merge witzler1/python-ci-template:master into master

packages on python have an __init__.py file. Those files are suppsoed to have a docstring explaining the package. D212 enforces this docstring (in case of multi line docstring) to start in the first line right behind """, while D213 enforces it to start in the second line. See: https://github.com/PyCQA/pydocstyle/issues/242#issuecomment-288166773

This patch therefore ignores D212 and enforces D213 only.

Edited by Christian Witzler

Merge request reports