#852 - Capture error codes for flake8

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

No files matched your search

+2 -1
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',
\}