Halt on warnings and not just errors

This commit is contained in:
Donald Stufft 2016-07-05 13:14:38 -04:00
parent bf22a02332
commit cfa09e1878
1 changed files with 1 additions and 1 deletions

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'))