From 6de6e81b0c8db5a82752ec2d05d5dadd769d97d0 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 24 Feb 2017 13:39:51 -0500 Subject: [PATCH] setup.cfg: Enable 'warning-is-error' Dog food this feature. Validated with the following (broken) change: --- a/doc/contents.rst +++ b/doc/contents.rst @@ -18,6 +18,9 @@ Sphinx documentation contents intl theming setuptools + + .. This is broken!!! + templating latex markdown Signed-off-by: Stephen Finucane --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index e341d921a..729d06312 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,3 +27,6 @@ universal = 1 max-line-length = 95 ignore = E116,E241,E251 exclude = .git,.tox,tests/*,build/*,sphinx/search/*,sphinx/pycode/pgen2/*,doc/ext/example*.py + +[build_sphinx] +warning-is-error = 1