Merge pull request #45 from dstufft/fail-on-warning

Fail on warnings
This commit is contained in:
Brett Cannon 2016-07-05 10:23:18 -07:00 committed by GitHub
commit 376d01ef78
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ MacOS X: use git installed with `XCode
install git with `Homebrew <http://brew.sh/>`_: ``brew install git``.
`git-cola <https://git-cola.github.io/index.html>`_ (`repository
<https://github.com/git-cola/git-cola>`_) is a Git GUI written in
<https://github.com/git-cola/git-cola>`__) is a Git GUI written in
Python and GPL licensed. Linux, Windows, MacOS X.
`TortoiseGit <https://tortoisegit.org/>`_ is a Windows Shell Interface

View File

@ -328,7 +328,7 @@ def fix_rst_pep(inpath, input_lines, outfile):
writer_name='pep_html',
settings=docutils_settings,
# Allow Docutils traceback if there's an exception:
settings_overrides={'traceback': 1})
settings_overrides={'traceback': 1, 'halt_level': 2})
outfile.write(output.decode('utf-8'))