Checker python/pylama: add option "--force".
This commit is contained in:
parent
e15ebd3367
commit
0470fff0c5
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.6.0-89'
|
let g:_SYNTASTIC_VERSION = '3.6.0-90'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
@ -27,7 +27,12 @@ function! SyntaxCheckers_python_pylama_GetHighlightRegex(item)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SyntaxCheckers_python_pylama_GetLocList() dict
|
function! SyntaxCheckers_python_pylama_GetLocList() dict
|
||||||
let makeprg = self.makeprgBuild({ 'args_after': '-f pep8' })
|
if !exists('s:pylama_new')
|
||||||
|
let s:pylama_new = syntastic#util#versionIsAtLeast(self.getVersion(), [4])
|
||||||
|
endif
|
||||||
|
|
||||||
|
let makeprg = self.makeprgBuild({
|
||||||
|
\ 'args_after': '-f pep8' . (s:pylama_new ? ' --force' : '') })
|
||||||
|
|
||||||
" TODO: "WARNING:pylama:..." messages are probably a logging bug
|
" TODO: "WARNING:pylama:..." messages are probably a logging bug
|
||||||
let errorformat =
|
let errorformat =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user