Skip to content

Commit 9275c8f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5489c66 commit 9275c8f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/ruff_version.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import subprocess
2-
import tomllib
32
from pathlib import Path
43

4+
import tomllib
5+
56
ROOT = Path(__file__).parent.parent
67
TEMPLATED_ROOT = ROOT / "{{cookiecutter.project_slug}}"
78
REQUIREMENTS_LOCAL_TXT = TEMPLATED_ROOT / "requirements" / "local.txt"
@@ -16,7 +17,7 @@ def main():
1617
return
1718

1819
update_ruff_version(old_version, new_version)
19-
subprocess.run(["uv", "lock", "--no-upgrade"], cwd=ROOT)
20+
subprocess.run(["uv", "lock", "--no-upgrade"], cwd=ROOT, check=False)
2021

2122

2223
def get_requirements_txt_version():

0 commit comments

Comments
 (0)