From 623596ffc71e45f20d5a71a647075654b2aaf0cb Mon Sep 17 00:00:00 2001 From: colyerdeng Date: Mon, 28 Jul 2025 16:02:07 +0800 Subject: [PATCH] fix: fix template hooks --- .../templates/template-python/hooks/post_gen_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo_scaffold/templates/template-python/hooks/post_gen_project.py b/repo_scaffold/templates/template-python/hooks/post_gen_project.py index 93898c4..eaa6214 100644 --- a/repo_scaffold/templates/template-python/hooks/post_gen_project.py +++ b/repo_scaffold/templates/template-python/hooks/post_gen_project.py @@ -112,7 +112,7 @@ def setup_environment(self) -> None: try: print("Installing project dependencies...") - subprocess.run(["task", "init"], check=True) + subprocess.run(["uv", "sync"], check=True) print("✅ Dependencies installed successfully") except subprocess.CalledProcessError as e: print(f"❌ Failed to install dependencies: {e}")