Merge pull request #236 from Chronial/patch-1

Pass file name to flake8
This commit is contained in:
w0rp 2017-01-04 12:57:40 +00:00 committed by GitHub
commit c9b58136bf
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', {