summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-06-22 15:17:54 -0400
committerDoug Hellmann <doug@doughellmann.com>2017-06-22 15:17:54 -0400
commit412f0fdd8503d4a5b67d5ec55021fd0a9f452984 (patch)
tree05bd1081db710dcb6acb36f4d1e51ccfa647caf9
parent95f44f171c614cb0bb1650eb0062baea5c96f25d (diff)
downloados-client-config-412f0fdd8503d4a5b67d5ec55021fd0a9f452984.tar.gz
turn on warning-is-error in documentation build
Change-Id: I18cdecec84f8dd5f11741ac1ffc35630f7eb64b8 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r--os_client_config/config.py1
-rw-r--r--setup.cfg1
2 files changed, 2 insertions, 0 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py
index 1ed416c..eb415f7 100644
--- a/os_client_config/config.py
+++ b/os_client_config/config.py
@@ -661,6 +661,7 @@ class OpenStackConfig(object):
the keystoneauth Auth Plugin Options and os-cloud. Also, peek in the
argv to see if all of the auth plugin options should be registered
or merely the ones already configured.
+
:param argparse.ArgumentParser: parser to attach argparse options to
:param list argv: the arguments provided to the application
:param string service_keys: Service or list of services this argparse
diff --git a/setup.cfg b/setup.cfg
index b87bd6a..19548fb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -26,6 +26,7 @@ packages =
source-dir = doc/source
build-dir = doc/build
all_files = 1
+warning-is-error = 1
[upload_sphinx]
upload-dir = doc/build/html