summaryrefslogtreecommitdiff
path: root/ale_linters/python
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-01-27 10:57:42 +0000
committerGitHub <noreply@github.com>2019-01-27 10:57:42 +0000
commitd882c434a1c8f3814da51340a38fdcd5659e76bd (patch)
tree3d7f348a9c7d040b7c71afa2717d018878d0f1bf /ale_linters/python
parent3ac12b69399fc1f85e9a8ad2e76dc4e1f938f7d2 (diff)
parentcdc3bc9238d2aca4b6f30511071b59415e9b79f7 (diff)
downloadale-d882c434a1c8f3814da51340a38fdcd5659e76bd.zip
Merge pull request #2215 from irwand/master
support older flake8 output, still used by hacking module from openstack style guide
Diffstat (limited to 'ale_linters/python')
-rw-r--r--ale_linters/python/flake8.vim2
1 files changed, 1 insertions, 1 deletions
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)