Fix flake8 error/warning checking
Error/warning checking did not correctly parse output from flake8. This resulted in Syntastic incorrectly displaying some warnings as errors.
This commit is contained in:
parent
c10289fdeb
commit
50561a87f7
@ -26,6 +26,6 @@ function! SyntaxCheckers_python_GetLocList()
|
||||
\ 'exe': 'flake8',
|
||||
\ 'args': g:syntastic_python_checker_args,
|
||||
\ 'subchecker': 'flake8' })
|
||||
let errorformat = '%E%f:%l: could not compile,%-Z%p^,%E%f:%l:%c: %m,%W%f:%l: %m,%-G%.%#'
|
||||
let errorformat = '%E%f:%l: could not compile,%-Z%p^,%E%f:%l:%c: %t%n %m,%E%f:%l: %t%n %m,%-G%.%#'
|
||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user