File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# rules implementing lint workflows. We do not use any remote
55# workflow repos.
66
7- # files = { glob = [
8- # "tskit/**",
9- # "benchmark/**",
10- # "tests/**",
11- # "_tskitmodule.c",
12- # "*.toml",
13- # "docs/**",
14- # ]}
15-
167exclude = { glob = [" c/subprojects/**" ]}
178
189[[repos ]]
1910repo = " builtin"
2011hooks = [
21- # { id = "trailing-whitespace" },
22- # { id = "end-of-file-fixer" },
2312 { id = " check-added-large-files" },
2413 { id = " check-merge-conflict" },
2514 { id = " mixed-line-ending" },
@@ -35,7 +24,7 @@ hooks = [
3524 id = " ruff-check" ,
3625 name = " ruff check" ,
3726 language = " system" ,
38- entry = " uv run --project=python --group=lint ruff check --fix --force-exclude" ,
27+ entry = " uv run --project=python --only- group=lint ruff check --fix --force-exclude" ,
3928 types = [" python" ],
4029 },
4130]
@@ -47,7 +36,7 @@ hooks = [
4736 id = " ruff-format" ,
4837 name = " ruff format" ,
4938 language = " system" ,
50- entry = " uv run --project=python --group=lint ruff format --force-exclude" ,
39+ entry = " uv run --project=python --only- group=lint ruff format --force-exclude" ,
5140 types = [" python" ],
5241 },
5342]
@@ -59,7 +48,7 @@ hooks = [
5948 id = " clang-format" ,
6049 name = " clang-format" ,
6150 language = " system" ,
62- entry = " uv run --project=python --group=lint clang-format -i" ,
51+ entry = " uv run --project=python --only- group=lint clang-format -i" ,
6352 types = [" c" ],
6453 verbose = true ,
6554 },
You can’t perform that action at this time.
0 commit comments