Merge "Adds doc8 check to pep8"

This commit is contained in:
Zuul 2018-08-20 10:48:02 +00:00 committed by Gerrit Code Review
commit 3dbe8d8bb7
16 changed files with 56 additions and 47 deletions

View File

@ -8,4 +8,3 @@ Table of Contents:
installation
operation

View File

@ -8,4 +8,3 @@ User Guide
freezer-agent
freezer-scheduler
freezer-web-ui

View File

@ -17,6 +17,7 @@ ddt==1.0.1
debtcollector==1.19.0
decorator==4.2.1
deprecation==2.0
doc8==0.6.0
docutils==0.14
dogpile.cache==0.6.5
dulwich==0.19.0

View File

@ -19,3 +19,7 @@ tempest>=17.1.0 # Apache-2.0
# Used in integration tests
python-openstackclient>=3.12.0 # Apache-2.0
# Used in doc8 check
doc8>=0.6.0 # Apache-2.0
Pygments>=2.2.0 # BSD license

View File

@ -65,7 +65,9 @@ commands =
[testenv:pep8]
commands = flake8 freezer
commands =
flake8 freezer
doc8 {posargs}
[testenv:pylint]
commands = pylint --rcfile .pylintrc freezer
@ -76,6 +78,10 @@ show-source = True
enable-extensions = H203,H106
exclude = .venv,.tox,dist,doc,test,*egg,releasenotes
[doc8]
ignore = D000,D001
ignore-path = .venv,.git,.tox,.tmp,*freezer/locale*,*lib/python*,freezer.egg*,doc/build,releasenotes/*,doc/source/contributor/api
[testenv:releasenotes]
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html