diff options
author | Gage Hugo <gagehugo@gmail.com> | 2017-03-03 14:45:35 -0600 |
---|---|---|
committer | Gage Hugo <gagehugo@gmail.com> | 2017-04-24 16:28:06 -0500 |
commit | cfcf9ef798ab5241e223def332e8d7fe2dfca884 (patch) | |
tree | b3ebf400862b914dec670cfbd9c8716825fbe355 /setup.cfg | |
parent | 4c88af5ae1e4d6e871ebcb214caa601848467722 (diff) | |
download | python-keystoneclient-cfcf9ef798ab5241e223def332e8d7fe2dfca884.tar.gz |
Remove pbr warnerrors in favor of sphinx check
This change removes the unused "warnerrors" setting that
was part of [pbr], which was replaced by "warning-is-error"
in sphinx 1.5 and above[0]. This also fixes any warnings
and errors that came up when running `tox -edocs` using
this new feature:
- Specified correct instance of 'List'
This change also adds the "warning-is-error" setting
to setup.cfg in order to allow for strict doc validation
which will cause doc building to fail if any warnings
are thrown.
[0] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113085.html
Change-Id: I8111193e5a1ae7d063ab4cc37186aea1299964a4
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,9 +40,9 @@ keystoneclient.auth.plugin = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [pbr] -warnerrors = True autodoc_tree_index_modules = True autodoc_tree_excludes = setup.py |