Skip to content

Commit

Permalink
Limit pre-commit hook 'fmt' to rust files
Browse files Browse the repository at this point in the history
  • Loading branch information
danhje committed Jan 12, 2025
1 parent 636680b commit 08b11b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ repos:
rev: v1.1.1
hooks:
- id: fmt
types: [rust]
- id: cargo-check
- id: clippy
args: [--fix, --allow-dirty, --allow-staged]

0 comments on commit 08b11b9

Please sign in to comment.