Skip to content

Commit 1310c42

Browse files
authored
💚 fix lefthook uv run commands (#444)
1 parent 92d1520 commit 1310c42

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎lefthook.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
# lefthook.yml
2-
31
pre-commit:
42
parallel: true
53
commands:
64
ruff-check:
75
glob: "*.{py,pyi}"
8-
run: uv run --no-group=orjson ruff check --fix {staged_files}
6+
run: uv run --no-sync ruff check --fix {staged_files}
97
stage_fixed: true
108
ruff-format:
119
glob: "*.{py,pyi}"
12-
run: uv run --no-group=orjson ruff format {staged_files}
10+
run: uv run --no-sync ruff format {staged_files}
1311
stage_fixed: true
1412
ignore-format:
1513
glob: "*.{py,pyi}"
16-
run: uv run --no-group=orjson tool/format_ignores.py {staged_files}
14+
run: uv run --no-sync tool/format_ignores.py {staged_files}
1715
stage_fixed: true
1816

1917
post-checkout:

0 commit comments

Comments
 (0)