Checker python/flake8: minor formatting.

This commit is contained in:
LCD 47 2018-04-02 20:13:55 +03:00
parent b01520f6a3
commit 2c02edd174
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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'