#852 Capture error codes for pylint, throw away the msgid values
This commit is contained in:
parent
08f4f8f0fc
commit
cf538c3a58
2 changed files with 45 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue