Fix hook flake checks, relax markdownlint style rules, add hook pointers

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019dpKwZWtahQU4V2NhpVmLt
This commit is contained in:
ariandClaude Sonnet 5.5 committed 2026-10-20 10:21:52 -04:00
1 parent 9e4fb38993
commit 8c0f996262
6 files changed
+15 -6

No files matched your search

+4 -3
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck disable=SC2329 # chk_* functions are dispatched by name
# Hook runner. One definition of every check, used by the devenv git-hooks
# entries and by the Nix flake checks.
#
@@ -68,7 +69,7 @@ chk_hygiene() {
bad=1
fi
done
return $bad
return "$bad"
}
# Credentials must never reach the repo (AGENTS.md Safety). A line carrying
@@ -94,7 +95,7 @@ chk_secrets() {
bad=1
fi
done
return $bad
return "$bad"
}
# Repo rules from AGENTS.md that clippy cannot see.
@@ -113,7 +114,7 @@ chk_rules() {
bad=1
fi
done
return $bad
return "$bad"
}
chk_rust-fmt() { cargo fmt --check; }