diff options
author | Tom Cocozzello <tjcocozz@us.ibm.com> | 2016-03-16 16:34:46 -0500 |
---|---|---|
committer | Tom Cocozzello <tjcocozz@us.ibm.com> | 2016-03-22 13:28:14 +0000 |
commit | c6904d033265a61143a7fa39a0108741ba3856ff (patch) | |
tree | 22fdd4f2301072ed94b0fba4642293955d966f33 /tox.ini | |
parent | d59e341a4cd99a8488d5cf41052d9b218379ac87 (diff) | |
download | python-glanceclient-c6904d033265a61143a7fa39a0108741ba3856ff.tar.gz |
Docs are generated incorrectly
When docs are generated with pbr command 'warnerrors = True'
there are many doc problems that are shown. This patch fixes
these problems.
Change-Id: Idb804ab924782b6d7d379494987bdba2acbce568
Closes-Bug: #1557235
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -21,6 +21,9 @@ commands = flake8 [testenv:venv] commands = {posargs} +[pbr] +warnerror = True + [testenv:functional] # See glanceclient/tests/functional/README.rst # for information on running the functional tests. @@ -39,10 +42,11 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen [flake8] # H233 Python 3.x incompatible use of print operator +# H301 one import per line # H303 no wildcard import # H404 multi line docstring should start with a summary -ignore = F403,F812,F821,H233,H303,H404 +ignore = F403,F812,F821,H233,H301,H303,H404 show-source = True exclude = .venv*,.tox,dist,*egg,build,.git,doc,*openstack/common*,*lib/python*,.update-venv |