mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[BE] Set commit hooks to 3.10
This commit is contained in:
@ -89,7 +89,7 @@ if venv_dir.exists():
|
|||||||
print("Removing existing hook venv...")
|
print("Removing existing hook venv...")
|
||||||
shutil.rmtree(venv_dir)
|
shutil.rmtree(venv_dir)
|
||||||
|
|
||||||
run(["uv", "venv", str(venv_dir), "--python", "3.9"])
|
run(["uv", "venv", str(venv_dir), "--python", "3.10"])
|
||||||
|
|
||||||
# Install lintrunner in the isolated environment
|
# Install lintrunner in the isolated environment
|
||||||
print("Installing lintrunner in isolated environment...")
|
print("Installing lintrunner in isolated environment...")
|
||||||
|
Reference in New Issue
Block a user