mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[BE] Set commit hooks to 3.10
This commit is contained in:
parent
a2e2e1d8c0
commit
12d7cc5cd3
|
|
@ -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...")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user