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 <stephen@that.guru>
This commit is contained in:
Stephen Finucane 2017-02-24 13:39:51 -05:00
parent 020e77b794
commit 6de6e81b0c

View File

@ -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