Permalink
Browse files

Merge pull request #394 from jjimenezlopez/master

The warnings were shown as errors when using flake8
  • Loading branch information...
scrooloose committed Nov 14, 2012
2 parents c6c1f42 + 9504f52 commit 0a7b21d6021a3a565db066e7b8f7f158c918037c
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax_checkers/python/flake8.vim
@@ -23,6 +23,6 @@ endfunction
function! SyntaxCheckers_python_GetLocList()
let makeprg = 'flake8 '.g:syntastic_python_checker_args.' '.shellescape(expand('%'))
- let errorformat = '%E%f:%l: could not compile,%-Z%p^,%E%f:%l:%c: %m,%E%f:%l: %m,%-G%.%#'
+ let errorformat = '%E%f:%l: could not compile,%-Z%p^,%E%f:%l:%c: %m,%W%f:%l: %m,%-G%.%#'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction

0 comments on commit 0a7b21d

Please sign in to comment.