mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 08:28:57 +08:00
#1081 Remove the ale#python#IsExecutable function
This commit is contained in:
1 parent
9010458581
commit
9c0a5635df
4 files changed
+4
-10
No files matched your search
@@ -12,7 +12,7 @@ function! ale#fixers#autopep8#Fix(buffer) abort
|
||||
\ ['autopep8'],
|
||||
\)
|
||||
|
||||
if !ale#python#IsExecutable(l:executable)
|
||||
if !executable(l:executable)
|
||||
return 0
|
||||
endif
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ function! ale#fixers#isort#Fix(buffer) abort
|
||||
\ ['isort'],
|
||||
\)
|
||||
|
||||
if !ale#python#IsExecutable(l:executable)
|
||||
if !executable(l:executable)
|
||||
return 0
|
||||
endif
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ function! ale#fixers#yapf#Fix(buffer) abort
|
||||
\ ['yapf'],
|
||||
\)
|
||||
|
||||
if !ale#python#IsExecutable(l:executable)
|
||||
if !executable(l:executable)
|
||||
return 0
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user