Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
build: add Clippy as a pre-push hook
Browse files Browse the repository at this point in the history
It's set up to run this check in CI, but that feedback loop is a lot
shorter if it runs locally first.
  • Loading branch information
ellsclytn committed Jul 13, 2023
1 parent c03552b commit b885c94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pre-push:
commands:
clippy:
glob: "*.rs"
run: cargo clippy -- -D warnings

0 comments on commit b885c94

Please sign in to comment.