This commit is contained in:
Nils 2026-06-27 01:17:16 +09:00 committed by GitHub
commit ae77ffb058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

3
.githooks/pre-commit Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
cd "$(dirname "$0")/../rust" || exit 1
cargo fmt --all -- --check

3
.githooks/pre-push Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
cd "$(dirname "$0")/../rust" || exit 1
cargo clippy -- -D warnings