From 1062c4d79a61f3cb70536808de6df2b833082428 Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Mon, 12 Jun 2017 08:42:51 +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: If356e8bfd2ff414037a8688409798b13044fe3b2 --- setup.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index e97d776..1657d4d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -53,6 +53,7 @@ paste.filter_factory = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html @@ -71,8 +72,5 @@ keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg output_file = oslo_middleware/locale/oslo_middleware.pot -[pbr] -warnerrors = True - [wheel] universal = 1