Add doc8 to pep8 check for panko project
This patch adds a doc8 check of .rst files to the current pep8 check. It includes fixes to the .rst files that didn't pass the check. Change-Id: Iad93921d7b5f9ee668fa1b8c518c5e7f55a4fa49 Co-authored-By: Hoang Trung Hieu <hieuht@vn.fujitsu.com>
This commit is contained in:
parent
c7dcbc8a0a
commit
7434266e8d
6
tox.ini
6
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
|
||||
|
|
Loading…
Reference in New Issue