mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-18 11:31:46 +04:00
Remove virtualenv dependency.
This commit is contained in:
parent
34e9d11786
commit
62d63724bf
2 changed files with 1 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ def py_interface(
|
|||
|
||||
def make_venv(envdir: str, python: str) -> None:
|
||||
env = dict(os.environ, VIRTUALENV_NO_DOWNLOAD='1')
|
||||
cmd = (sys.executable, '-mvirtualenv', envdir, '-p', python)
|
||||
cmd = (sys.executable, '-mvenv', envdir)
|
||||
cmd_output_b(*cmd, env=env, cwd='/')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue