Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The warnings were shown as errors when using flake8

  • Loading branch information...
commit 9504f526d4272d3edd567d26cefd082972fb05bd 1 parent 714b2b1
Jose Jiménez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  syntax_checkers/python/flake8.vim
2  syntax_checkers/python/flake8.vim
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.