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
This commit is contained in:
Matthew Kassawara 2016-01-08 10:55:55 -07:00
parent 2de2cff406
commit 8e4ee7a7a8
1 changed files with 3 additions and 0 deletions

View File

@ -62,3 +62,6 @@ input_file = neutron-vpnaas/locale/neutron-vpnaas.pot
[wheel]
universal = 1
[pbr]
warnerrors = true