From 1d4fb90e10061ce870ac90e8b51611adc11601e6 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 7 Jan 2015 17:46:14 +0100 Subject: [PATCH] Set pbr 'warnerrors' option for doc build By setting this pbr option in setup.cfg, the doc build will fail in case of any warnings or errors occur during the build process. Change-Id: I5aa77eb9c45a12e7e4d467eebb90487709cbe197 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 2dbe2d7ba4..dafbffabda 100644 --- a/setup.cfg +++ b/setup.cfg @@ -81,3 +81,6 @@ output_file = manila/locale/manila.pot [wheel] universal = 1 + +[pbr] +warnerrors = true