summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTom Cocozzello <tjcocozz@us.ibm.com>2016-03-16 16:34:46 -0500
committerTom Cocozzello <tjcocozz@us.ibm.com>2016-03-22 13:28:14 +0000
commitc6904d033265a61143a7fa39a0108741ba3856ff (patch)
tree22fdd4f2301072ed94b0fba4642293955d966f33 /tox.ini
parentd59e341a4cd99a8488d5cf41052d9b218379ac87 (diff)
downloadpython-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.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 0e14775..c173d0d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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