summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2016-12-07 22:57:12 +0000
committerGitHub <noreply@github.com>2016-12-07 22:57:12 +0000
commit815be12649718f3a260486af3922e9964a184d42 (patch)
treeb5ce2b96ec478c1cd6edeef963bf8bccbe75b1bc
parentaee339f4015f4c492f8087d11736a283d4eff027 (diff)
parent88c203b6868b49e6018b85a47020ace8083241e5 (diff)
downloadale-815be12649718f3a260486af3922e9964a184d42.zip
Merge pull request #209 from apuignav/ignore-pylint
Skip I0011 messages in 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,