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 b73295a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 23 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]
67 changes: 44 additions & 23 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b73295a

Please sign in to comment.