Skip to content

Commit 93b12c6

Browse files
max-sixtyClaude
andauthored
Add pre-commit hook for Rust code formatting (#760)
Co-authored-by: Claude <no-reply@anthropic.com> Co-authored-by: Claude <no-reply@anthropic.com>
1 parent e91a7ac commit 93b12c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ repos:
2424
- id: markdown-link-check
2525
name: markdown-link-check-all
2626
stages: [manual]
27+
- repo: https://github.com/doublify/pre-commit-rust
28+
rev: v1.0
29+
hooks:
30+
- id: fmt
2731
- repo: local
2832
hooks:
2933
- id: no-dbg

0 commit comments

Comments
 (0)