Merge pull request #465 from chazlever/master

Fix Flake8 Error/Warning Parsing
This commit is contained in:
Martin Grenfell 2013-03-08 07:10:55 -08:00
commit 2003c772b0

View File

@ -34,7 +34,7 @@ function! SyntaxCheckers_python_flake8_GetLocList()
let makeprg = syntastic#makeprg#build({
\ 'exe': 'flake8',
\ '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