Skip to content

Commit

Permalink
Checker python/flake8: minor formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
lcd047 committed Apr 2, 2018
1 parent 8e4394e commit 21c4a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/syntastic.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/python/flake8.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 21c4a58

Please sign in to comment.