Test that flake8 error actually fails CI; don't show stacktrace for flake8 failure

This commit is contained in:
Bob Hyman 2020-05-09 09:29:04 -04:00
parent 68fbf93ed1
commit 910fb42f78
2 changed files with 2 additions and 1 deletions

View file

@ -27,4 +27,5 @@ for fname in run_separately:
for index, fname in enumerate(run_separately):
![pytest @(replace_args(index+1)) @(fname)]
echo "---------- Running flake8 ----------"
$RAISE_SUBPROC_ERROR = False
python -m flake8

View file

@ -52,7 +52,7 @@ per-file-ignores =
xonsh/readline_shell.py:F401,
xonsh/style_tools.py:F821 E305,
xonsh/timings.py:F401,
xonsh/tokenize.py:F821 F841,
# xonsh/tokenize.py:F821 F841,
xonsh/tools.py:E731 E305,
xonsh/xonfig.py:E731,
xontrib/vox.py:F821,