Skip I0011 messages in pylint.

Ignore 'Locally disabling %s' messages from pylint.
This commit is contained in:
Albert Puig 2016-12-07 23:50:34 +01:00
parent aee339f401
commit 88c203b686
1 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,11 @@ function! ale#handlers#HandlePEP8Format(buffer, lines) abort
continue
endif
if l:code ==# 'I0011'
" Skip 'Locally disabling' message
continue
endif
call add(l:output, {
\ 'bufnr': a:buffer,
\ 'lnum': l:match[1] + 0,