#729 - Support running Python programs from virtualenv for Windows

This commit is contained in:
w0rp
2017-07-05 13:07:55 +01:00
parent 1b8450e7a0
commit a04e73ddbc
7 changed files with 11 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ let g:ale_python_mypy_options = get(g:, 'ale_python_mypy_options', '')
let g:ale_python_mypy_use_global = get(g:, 'ale_python_mypy_use_global', 0)
function! ale_linters#python#mypy#GetExecutable(buffer) abort
return ale#python#FindExecutable(a:buffer, 'python_mypy', ['/bin/mypy'])
return ale#python#FindExecutable(a:buffer, 'python_mypy', ['mypy'])
endfunction
function! ale_linters#python#mypy#GetCommand(buffer) abort