mirror of
https://github.com/dense-analysis/ale.git
synced 2026-08-14 20:00:58 +08:00
#729 - Support running Python programs from virtualenv for Windows
This commit is contained in:
@@ -9,7 +9,7 @@ function! ale#fixers#autopep8#Fix(buffer) abort
|
||||
let l:executable = ale#python#FindExecutable(
|
||||
\ a:buffer,
|
||||
\ 'python_autopep8',
|
||||
\ ['/bin/autopep8'],
|
||||
\ ['autopep8'],
|
||||
\)
|
||||
|
||||
if !executable(l:executable)
|
||||
|
||||
@@ -8,7 +8,7 @@ function! ale#fixers#isort#Fix(buffer) abort
|
||||
let l:executable = ale#python#FindExecutable(
|
||||
\ a:buffer,
|
||||
\ 'python_isort',
|
||||
\ ['/bin/isort'],
|
||||
\ ['isort'],
|
||||
\)
|
||||
|
||||
if !executable(l:executable)
|
||||
|
||||
@@ -8,7 +8,7 @@ function! ale#fixers#yapf#Fix(buffer) abort
|
||||
let l:executable = ale#python#FindExecutable(
|
||||
\ a:buffer,
|
||||
\ 'python_yapf',
|
||||
\ ['/bin/yapf'],
|
||||
\ ['yapf'],
|
||||
\)
|
||||
|
||||
if !executable(l:executable)
|
||||
|
||||
Reference in New Issue
Block a user