#852 - Capture error codes for flake8

This commit is contained in:
w0rp 2017-11-14 09:41:29 +00:00
parent 037aaae593
commit d8f9aef84a
2 changed files with 20 additions and 10 deletions

View file

@ -94,7 +94,8 @@ function! ale_linters#python#flake8#Handle(buffer, lines) abort
let l:item = {
\ 'lnum': l:match[1] + 0,
\ 'col': l:match[2] + 0,
\ 'text': l:code . ': ' . l:match[4],
\ 'text': l:match[4],
\ 'code': l:code,
\ 'type': 'W',
\}