Feature/restore display of symbol (#693)

* Add display of the pylint symbol name after the message.

* Update test to pass.
This commit is contained in:
John Sivak 2017-06-25 13:22:13 -04:00 committed by w0rp
parent c2f69b7750
commit a9b29fef28
2 changed files with 6 additions and 6 deletions

View file

@ -57,7 +57,7 @@ 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],
\ 'text': l:code . ': ' . l:match[5] . ' (' . l:match[4] . ')',
\ 'type': l:code[:0] ==# 'E' ? 'E' : 'W',
\})
endfor