Small cleanup and removed some slow git hooks
This commit is contained in:
1 parent
0087f831fb
commit
ed8c2f61bf
2 files changed
+11
-16
No files matched your search
@@ -10,12 +10,6 @@ cargo fmt --check
|
||||
echo "pre-commit: cargo clippy"
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
echo "pre-commit: cargo test"
|
||||
cargo test --quiet
|
||||
|
||||
echo "pre-commit: cargo doc"
|
||||
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --quiet
|
||||
|
||||
echo "pre-commit: US spelling"
|
||||
staged=$(git diff --cached --name-only --diff-filter=ACM -- '*.rs' '*.md' '*.toml')
|
||||
if [ -n "$staged" ]; then
|
||||
|
||||
Reference in new issue
Block a user