diff --git a/tox.ini b/tox.ini index cc4d8c85..63c27bbb 100644 --- a/tox.ini +++ b/tox.ini @@ -69,7 +69,9 @@ commands = [testenv:pep8] deps = hacking<0.13,>=0.12.0 + doc8 commands = flake8 + doc8 {posargs} [testenv:releasenotes] commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html @@ -107,6 +109,10 @@ commands = pifpaf --debug run postgresql oslo_debug_helper {posargs} setenv = OS_TEST_PATH=panko/tests/functional commands = pifpaf --debug run elasticsearch oslo_debug_helper {posargs} +[doc8] +ignore = D000 +ignore-path = .venv,.git,.tox,*panko/locale*,*lib/python*,panko.egg*,doc/build,doc/source/api,releasenotes/* + [flake8] ignore = exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build