From 6ae644370e7b4f38f95c5ce44e2a599591d3a09b Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Mon, 12 Jun 2017 08:49:42 +0700 Subject: [PATCH] Remove pbr warnerrors in favor of sphinx check This change removes the now unused "warnerrors" setting, which is replaced by "warning-is-error" in sphinx releases >= 1.5 [1]. [1] http://lists.openstack.org/pipermail/openstack-dev/ 2017-March/113085.html Change-Id: I3f558a5bbb5c536c26929e9e6d79628a7e377a9a --- setup.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4d91e85d..af4dc742 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,13 +31,11 @@ fixtures = mock>=2.0 # BSD fixtures>=3.0.0 # Apache-2.0/BSD -[pbr] -warnerrors = true - [build_sphinx] source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html