Pass file name to flake8
This commit is contained in:
parent
3e1486fc92
commit
e0928d0991
@ -13,7 +13,7 @@ endfunction
|
|||||||
|
|
||||||
function! ale_linters#python#flake8#GetCommand(buffer) abort
|
function! ale_linters#python#flake8#GetCommand(buffer) abort
|
||||||
return ale_linters#python#flake8#GetExecutable(a:buffer)
|
return ale_linters#python#flake8#GetExecutable(a:buffer)
|
||||||
\ . ' ' . g:ale_python_flake8_args . ' -'
|
\ . ' ' . g:ale_python_flake8_args . '--stdin-display-name %s -'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call ale#linter#Define('python', {
|
call ale#linter#Define('python', {
|
||||||
|
Loading…
Reference in New Issue
Block a user