summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2015-09-21 15:34:45 -0500
committerBrant Knudson <bknudson@us.ibm.com>2015-09-24 10:56:06 -0500
commit14c955cf6d4b673a6612fb8f3463bb275cc9fcd7 (patch)
treeecaca75b5dfb89a871d15878438089e68474ca41 /setup.cfg
parent0b3aee8cc6d5c373bcba74330f0fea8f0e4e4b26 (diff)
downloadoslo-db-14c955cf6d4b673a6612fb8f3463bb275cc9fcd7.tar.gz
Fix warnings in docstrings
When generating the docs some warnings were generated. Also, configure doc build so that if there are warnings, the build will fail. Change-Id: I7e10499294cf1f06f766cbff392e9de32ea48e5a
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 1 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index 649550b..145ee6a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -60,9 +60,7 @@ fixtures =
testscenarios>=0.4
[pbr]
-# NOTE(viktors): uncomment ``warnerrors`` line, when setup.cfg we then
-# want to treat sphinx warnings as errors
-# warnerrors = True
+warnerrors = True
autodoc_index_modules = True
autodoc_exclude_modules =
oslo_db.tests.* \ No newline at end of file