Merge pull request #2215 from irwand/master

support older flake8 output, still used by hacking module from openstack style guide
This commit is contained in:
w0rp authored and GitHub committed 2019-01-27 10:57:42 +00:00
commit d882c434a1
2 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -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)