Move --format=default in the flake8 command to the return value, and remove extra spaces in the tests
This commit is contained in:
parent
abcf2909e6
commit
b9f31621e4
@ -80,10 +80,10 @@ function! ale_linters#python#flake8#GetCommand(buffer, version_output) abort
|
|||||||
\ : ''
|
\ : ''
|
||||||
|
|
||||||
let l:options = ale#Var(a:buffer, 'python_flake8_options')
|
let l:options = ale#Var(a:buffer, 'python_flake8_options')
|
||||||
\ . ' --format=default'
|
|
||||||
|
|
||||||
return ale#Escape(ale_linters#python#flake8#GetExecutable(a:buffer))
|
return ale#Escape(ale_linters#python#flake8#GetExecutable(a:buffer))
|
||||||
\ . (!empty(l:options) ? ' ' . l:options : '')
|
\ . (!empty(l:options) ? ' ' . l:options : '')
|
||||||
|
\ . ' --format=default'
|
||||||
\ . l:display_name_args . ' -'
|
\ . l:display_name_args . ' -'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user