Skip to content

Commit cda6570

Browse files
Use --only-group
1 parent 3efd29f commit cda6570

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

prek.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ hooks = [
3636
id = "ruff-check",
3737
name = "ruff check",
3838
language = "system",
39-
entry = "uv run --group=lint ruff check --fix --force-exclude",
39+
entry = "uv run --only-group=lint ruff check --fix --force-exclude",
4040
types = ["python"],
4141
},
4242
]
@@ -48,7 +48,7 @@ hooks = [
4848
id = "ruff-format",
4949
name = "ruff format",
5050
language = "system",
51-
entry = "uv run --group=lint ruff format --force-exclude",
51+
entry = "uv run --only-group=lint ruff format --force-exclude",
5252
types = ["python"],
5353
},
5454
]
@@ -60,7 +60,7 @@ hooks = [
6060
id = "clang-format",
6161
name = "clang-format",
6262
language = "system",
63-
entry = "uv run --group=lint clang-format -i",
63+
entry = "uv run --only-group=lint clang-format -i",
6464
types = ["c"],
6565
verbose = true,
6666
},

0 commit comments

Comments
 (0)