From 88c203b6868b49e6018b85a47020ace8083241e5 Mon Sep 17 00:00:00 2001 From: Albert Puig Date: Wed, 7 Dec 2016 23:50:34 +0100 Subject: [PATCH] Skip I0011 messages in pylint. Ignore 'Locally disabling %s' messages from pylint. --- autoload/ale/handlers.vim | 5 +++++ 1 file changed, 5 insertions(+) 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,