Fix #596 - Report exceptions thrown by flake8

This commit is contained in:
w0rp 2017-05-31 15:19:58 +01:00
parent 5eb80f03a2
commit 42efd51723
3 changed files with 48 additions and 1 deletions

View file

@ -99,7 +99,7 @@ call ale#linter#Define('python', {
\ 'executable_callback': 'ale_linters#python#flake8#GetExecutable',
\ 'command_chain': [
\ {'callback': 'ale_linters#python#flake8#VersionCheck'},
\ {'callback': 'ale_linters#python#flake8#GetCommand'},
\ {'callback': 'ale_linters#python#flake8#GetCommand', 'output_stream': 'both'},
\ ],
\ 'callback': 'ale#handlers#python#HandlePEP8Format',
\})