From 2c02edd174c60abc6e176dda8e03ccc3276dcb2c Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Mon, 2 Apr 2018 20:13:55 +0300 Subject: [PATCH] Checker python/flake8: minor formatting. --- plugin/syntastic.vim | 2 +- syntax_checkers/python/flake8.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index be338025..cedfcfcf 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.8.0-109' +let g:_SYNTASTIC_VERSION = '3.8.0-110' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/python/flake8.vim b/syntax_checkers/python/flake8.vim index cd651890..e5ee447e 100644 --- a/syntax_checkers/python/flake8.vim +++ b/syntax_checkers/python/flake8.vim @@ -40,7 +40,7 @@ function! SyntaxCheckers_python_flake8_GetLocList() dict let parts = matchlist(e['text'], '\v\C^([A-Z]+)(\d+):?\s+(.*)') if len(parts) >= 4 let e['type'] = parts[1][0] - let e['text'] = printf('%s [%s%03d]', parts[3], parts[1], parts[2]) + let e['text'] = printf('%s [%s%s]', parts[3], parts[1], parts[2]) if e['type'] ==? 'E' && parts[2] !~# '\m^9' let e['subtype'] = 'Style'