mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-12 00:52:29 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
5489c6613c
commit
9275c8f13d
|
@ -1,7 +1,8 @@
|
|||
import subprocess
|
||||
import tomllib
|
||||
from pathlib import Path
|
||||
|
||||
import tomllib
|
||||
|
||||
ROOT = Path(__file__).parent.parent
|
||||
TEMPLATED_ROOT = ROOT / "{{cookiecutter.project_slug}}"
|
||||
REQUIREMENTS_LOCAL_TXT = TEMPLATED_ROOT / "requirements" / "local.txt"
|
||||
|
@ -16,7 +17,7 @@ def main():
|
|||
return
|
||||
|
||||
update_ruff_version(old_version, new_version)
|
||||
subprocess.run(["uv", "lock", "--no-upgrade"], cwd=ROOT)
|
||||
subprocess.run(["uv", "lock", "--no-upgrade"], cwd=ROOT, check=False)
|
||||
|
||||
|
||||
def get_requirements_txt_version():
|
||||
|
|
Loading…
Reference in New Issue
Block a user