From 8e4ee7a7a8a78f71e102a9f69a96b673ce7d5a0e Mon Sep 17 00:00:00 2001 From: Matthew Kassawara Date: Fri, 8 Jan 2016 10:55:55 -0700 Subject: [PATCH] Convert warnings to errors The tox docs environment converts Sphinx warnings to errors using the '-W' option. However, the equivalent gate job calls build_sphinx directly and lacks the necessary option in setup.cfg to convert warnings to errors. Adding this option to provide the same checks in both places. Change-Id: Id752831a5d09d819f342427833f68ccb0acdaaf1 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 831fcea9e..df25b1601 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,3 +62,6 @@ input_file = neutron-vpnaas/locale/neutron-vpnaas.pot [wheel] universal = 1 + +[pbr] +warnerrors = true