Skip to content

Commit b73295a

Browse files
committed
Limit pre-commit hook 'fmt' to rust files
1 parent 636680b commit b73295a

File tree

2 files changed

+45
-23
lines changed

2 files changed

+45
-23
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ repos:
2323
rev: v1.1.1
2424
hooks:
2525
- id: fmt
26+
types: [rust]
2627
- id: cargo-check
2728
- id: clippy
2829
args: [--fix, --allow-dirty, --allow-staged]

poetry.lock

Lines changed: 44 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)