From 9504f526d4272d3edd567d26cefd082972fb05bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Jim=C3=A9nez?= Date: Fri, 26 Oct 2012 13:27:03 +0200 Subject: [PATCH] The warnings were shown as errors when using flake8 --- syntax_checkers/python/flake8.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/python/flake8.vim b/syntax_checkers/python/flake8.vim index 497f3595..cd32cff2 100644 --- a/syntax_checkers/python/flake8.vim +++ b/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