summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Puig <albert.puig@cern.ch>2016-12-07 23:50:34 +0100
committerAlbert Puig <albert.puig@cern.ch>2016-12-07 23:54:41 +0100
commit88c203b6868b49e6018b85a47020ace8083241e5 (patch)
treeb5ce2b96ec478c1cd6edeef963bf8bccbe75b1bc
parentaee339f4015f4c492f8087d11736a283d4eff027 (diff)
downloadale-88c203b6868b49e6018b85a47020ace8083241e5.zip
Skip I0011 messages in pylint.
Ignore 'Locally disabling %s' messages from pylint.
-rw-r--r--autoload/ale/handlers.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale/handlers.vim b/autoload/ale/handlers.vim
index 526b9b56..d6be810a 100644
--- a/autoload/ale/handlers.vim
+++ b/autoload/ale/handlers.vim
@@ -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,