diff --git a/.circleci/config.yml b/.circleci/config.yml index dc2606f9c..018dea9d1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,10 @@ jobs: name: check-code-style command: | python -m flake8 --show-source . + - run: + name: check-doc-strings-style + command: | + pydocstyle test-3.8: &test-template environment: diff --git a/requirements-test.txt b/requirements-test.txt index 8d65993a3..da1c0496d 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -3,3 +3,4 @@ ruamel.yaml==0.15.89 flake8==3.7.7 pytest>=4.4 pytest-subtests +pydocstyle diff --git a/setup.cfg b/setup.cfg index 5ae1d2acf..92ac1ecf8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,6 +10,9 @@ description-file = README.md [bdist_wheel] python-tag = py3 +[pydocstyle] +match = template_filters.py + [flake8] max-line-length = 100 exclude = mistune,doc/conf.py