mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 01:13:44 +08:00
Fix #1492 - Make pylint error parsing work on Windows
This commit is contained in:
1 parent
9d00695249
commit
3f0e1cd05d
2 files changed
+20
-1
No files matched your search
@@ -25,7 +25,7 @@ function! ale_linters#python#pylint#Handle(buffer, lines) abort
|
||||
" Matches patterns like the following:
|
||||
"
|
||||
" test.py:4:4: W0101 (unreachable) Unreachable code
|
||||
let l:pattern = '\v^[^:]+:(\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)
|
||||
|
||||
Reference in new issue
Block a user