File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,19 +30,8 @@ hooks = [
3030 id = " ruff-check" ,
3131 name = " ruff check" ,
3232 language = " system" ,
33- # entry = "uv run --locked --only-group lint ruff check --fix --force-exclude",
34- entry = """ bash -lc '
35- set -euo pipefail
36- echo "PWD=$PWD"
37- echo "UV=$(command -v uv)"
38- uv --version
39- uv run --locked --only-group lint ruff --version
40- echo "FILES:"
41- printf " %s\n " "$@"
42- uv run --locked --only-group lint ruff check --fix --force-exclude "$@"
43- ' --""" ,
33+ entry = " ruff check --fix --force-exclude" ,
4434 types = [" python" ],
45- priority =10 ,
4635 },
4736]
4837
@@ -53,9 +42,8 @@ hooks = [
5342 id = " ruff-format" ,
5443 name = " ruff format" ,
5544 language = " system" ,
56- entry = " uv run --locked --only-group lint ruff format --force-exclude" ,
45+ entry = " ruff format --force-exclude" ,
5746 types = [" python" ],
58- priority =20 ,
5947 },
6048]
6149
@@ -66,7 +54,7 @@ hooks = [
6654 id = " clang-format" ,
6755 name = " clang-format" ,
6856 language = " system" ,
69- entry = " uv run --locked --only-group lint clang-format -i" ,
57+ entry = " clang-format -i" ,
7058 types = [" c" , " header" ],
7159 verbose = true ,
7260 },
You can’t perform that action at this time.
0 commit comments