Skip to content

Commit

Permalink
refactor: improve conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Dec 20, 2024
1 parent ffa31c1 commit 4f24e2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .lefthook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pre-commit:
parallel: true
commands:
lock:
glob: uv.lock
glob: "{pyproject.tomk,uv.lock}"
run: uv lock --check
lint:
glob: "*.py"
Expand All @@ -13,6 +13,7 @@ pre-commit:
run: uv run ruff format {staged_files}
stage_fixed: true
pyright:
glob: "*.py"
run: uv run pyright

post-checkout:
Expand Down

0 comments on commit 4f24e2e

Please sign in to comment.