Skip to content

Commit 4674c7c

Browse files
committed
🐛 Use uv tool run prek to avoid requiring global prek install
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7e54c05 commit 4674c7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

onboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def hooks() -> None:
437437

438438
if activate:
439439
result = subprocess.run(
440-
["prek", "install"],
440+
["uv", "tool", "run", "prek", "install"],
441441
cwd=PROJECT_ROOT,
442442
capture_output=True,
443443
text=True,
@@ -449,7 +449,7 @@ def hooks() -> None:
449449
else:
450450
rprint(
451451
"[yellow]Skipped.[/yellow] You can activate later with: "
452-
"[bold]prek install[/bold]"
452+
"[bold]uv tool run prek install[/bold]"
453453
)
454454

455455

0 commit comments

Comments
 (0)