Merge pull request #364 from jsivak/feature/pylint_symbol

Add the pylint symbol name for the msg_id of the error/warning.
This commit is contained in:
w0rp 2017-02-25 19:19:45 +00:00 committed by GitHub
commit f1e80b800c

View File

@ -14,7 +14,7 @@ endfunction
function! ale_linters#python#pylint#GetCommand(buffer) abort
return ale_linters#python#pylint#GetExecutable(a:buffer)
\ . ' ' . g:ale_python_pylint_options
\ . ' --output-format text --msg-template="{path}:{line}:{column}: {msg_id} {msg}" --reports n'
\ . ' --output-format text --msg-template="{path}:{line}:{column}: {msg_id} ({symbol}) {msg}" --reports n'
\ . ' %t'
endfunction