Checker python/flake8: minor formatting.
This commit is contained in:
parent
b01520f6a3
commit
2c02edd174
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user