Pass file name to flake8

This commit is contained in:
Chronial 2016-12-30 17:06:49 +01:00 committed by GitHub
parent 3e1486fc92
commit e0928d0991
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ endfunction
function! ale_linters#python#flake8#GetCommand(buffer) abort
return ale_linters#python#flake8#GetExecutable(a:buffer)
\ . ' ' . g:ale_python_flake8_args . ' -'
\ . ' ' . g:ale_python_flake8_args . '--stdin-display-name %s -'
endfunction
call ale#linter#Define('python', {