chore: make pre-commit do formatting (#653)

This commit is contained in:
Alex Hancock 2026-02-12 11:29:19 -05:00 committed by GitHub
parent 3eb4c384d3
commit a1c66a8a36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

5
.githooks/pre-commit Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
cargo +nightly fmt --all
# stage any formatting changes
git add -u