From 551ac5a94d66b4b3f8eb441881989b3221586b98 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Tue, 17 Feb 2015 20:18:39 +0100 Subject: [PATCH] Set the warnerrors pbr option in the setup.cfg file To fail in case of any warnings or errors during the doc build process the warnerrors pbr option has to be set to true in the setup.cfg file. Change-Id: I04c82cd4cc9a9ecced37da7acc0d4f602bc7d863 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index be6cbbb..c539d63 100644 --- a/tox.ini +++ b/tox.ini @@ -23,3 +23,6 @@ deps = sphinxcontrib-spelling PyEnchant commands = sphinx-build -b spelling doc/source doc/build/spelling + +[pbr] +warnerrors = true