summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIrwan Djajadi <irwan@djajadi.net>2019-01-16 10:59:05 -0600
committerIrwan Djajadi <irwan@djajadi.net>2019-01-16 10:59:05 -0600
commit08affaad7a0e847f40017a275adf50502f02ea81 (patch)
treecec2345431d35f2c45b7cd48d26c3883b2f9d661
parentd1fc084b2d3af6dd9807a01a6ca7822af6c2a78f (diff)
downloadale-08affaad7a0e847f40017a275adf50502f02ea81.zip
support older flake8 output, still used by hacking module from open style guide
-rw-r--r--ale_linters/python/flake8.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim
index 14b67d77..b5b5f3cc 100644
--- a/ale_linters/python/flake8.vim
+++ b/ale_linters/python/flake8.vim
@@ -89,7 +89,7 @@ function! ale_linters#python#flake8#Handle(buffer, lines) abort
" Matches patterns line the following:
"
" stdin:6:6: E111 indentation is not a multiple of four
- let l:pattern = '\v^[a-zA-Z]?:?[^:]+:(\d+):?(\d+)?: ([[:alnum:]]+) (.*)$'
+ let l:pattern = '\v^[a-zA-Z]?:?[^:]+:(\d+):?(\d+)?: ([[:alnum:]]+):? (.*)$'
let l:output = []
for l:match in ale#util#GetMatches(a:lines, l:pattern)