summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorGage Hugo <gagehugo@gmail.com>2017-03-01 13:51:22 -0600
committerGage Hugo <gagehugo@gmail.com>2017-04-24 16:31:00 -0500
commit7e209b97675c1a2ba68c61f69d9f594d4c7b48e9 (patch)
tree7048456638aa721cab0a3ade1864304c64170bcd /setup.cfg
parent9b14d80fe0519999cd801470573edfaf6991d6cd (diff)
downloadkeystonemiddleware-7e209b97675c1a2ba68c61f69d9f594d4c7b48e9.tar.gz
Added "warning-is-error" sphinx check for docs
This change adds the "warning-is-error" setting to setup.cfg in order to enforce strict doc validation which will cause the build to fail if any warnings are thrown. This also removes the redundant loading of the todo plugin warning that shows up while running 'tox -e docs' with 'warning-is-error' enabled. Change-Id: I33c110073feec7dd38ab75981d6f97c654852f37
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 232cb18..e9ee1d5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -44,6 +44,7 @@ paste.filter_factory =
source-dir = doc/source
build-dir = doc/build
all_files = 1
+warning-is-error = 1
[pbr]
autodoc_tree_index_modules = True