mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 11:31:26 +08:00
support older flake8 output, still used by hacking module from open style guide
This commit is contained in:
1 parent
d1fc084b2d
commit
08affaad7a
1 file changed
+1
-1
@@ -89,7 +89,7 @@ function! ale_linters#python#flake8#Handle(buffer, lines) abort
|
|||||||
" Matches patterns line the following:
|
" Matches patterns line the following:
|
||||||
"
|
"
|
||||||
" stdin:6:6: E111 indentation is not a multiple of four
|
" 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 = []
|
let l:output = []
|
||||||
|
|
||||||
for l:match in ale#util#GetMatches(a:lines, l:pattern)
|
for l:match in ale#util#GetMatches(a:lines, l:pattern)
|
||||||
|
|||||||
Reference in new issue
Block a user