mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-07 20:54:34 +08:00
#852 Capture error codes for pylint, throw away the msgid values
This commit is contained in:
1 parent
08f4f8f0fc
commit
cf538c3a58
2 files changed
+45
-8
No files matched your search
@@ -45,7 +45,8 @@ function! ale_linters#python#pylint#Handle(buffer, lines) abort
|
||||
call add(l:output, {
|
||||
\ 'lnum': l:match[1] + 0,
|
||||
\ 'col': l:match[2] + 1,
|
||||
\ 'text': l:code . ': ' . l:match[5] . ' (' . l:match[4] . ')',
|
||||
\ 'text': l:match[5],
|
||||
\ 'code': l:match[4],
|
||||
\ 'type': l:code[:0] is# 'E' ? 'E' : 'W',
|
||||
\})
|
||||
endfor
|
||||
|
||||
Reference in new issue
Block a user