From 08affaad7a0e847f40017a275adf50502f02ea81 Mon Sep 17 00:00:00 2001 From: Irwan Djajadi Date: Wed, 16 Jan 2019 10:59:05 -0600 Subject: [PATCH] support older flake8 output, still used by hacking module from open style guide --- ale_linters/python/flake8.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim index 14b67d77..b5b5f3cc 100644 --- a/ale_linters/python/flake8.vim +++ b/ale_linters/python/flake8.vim @@ -89,7 +89,7 @@ function! ale_linters#python#flake8#Handle(buffer, lines) abort " Matches patterns line the following: " " stdin:6:6: E111 indentation is not a multiple of four - let l:pattern = '\v^[a-zA-Z]?:?[^:]+:(\d+):?(\d+)?: ([[:alnum:]]+) (.*)$' + let l:pattern = '\v^[a-zA-Z]?:?[^:]+:(\d+):?(\d+)?: ([[:alnum:]]+):? (.*)$' let l:output = [] for l:match in ale#util#GetMatches(a:lines, l:pattern)