Skip to content

Commit 9241b28

Browse files
Update prek.toml to use uv run
1 parent 990b051 commit 9241b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prek.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ hooks = [
2222
id = "ruff-check",
2323
name = "ruff check",
2424
language = "system",
25-
entry = "ruff check --fix --force-exclude",
25+
entry = "uv run --group=lint ruff check --fix --force-exclude",
2626
types = ["python"],
2727
},
2828
]
@@ -34,7 +34,7 @@ hooks = [
3434
id = "ruff-format",
3535
name = "ruff format",
3636
language = "system",
37-
entry = "ruff format --force-exclude",
37+
entry = "uv run --group=lint ruff format --force-exclude",
3838
types = ["python"],
3939
},
4040
]

0 commit comments

Comments
 (0)