You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Correct the Lint Snippets' Claim That the Hook's EOL Gate Is Diff-Scoped #3369
Pre-commit already runs the prose/EOL gates diff-scoped.
Only the prose gate is diff-scoped in the hook. The EOL entry runs repo_gate.py --check eol with no --diff, and that check covers every tracked file. catalog/snippets/pre-commit/README.md calls it "the whole-tree line-ending check", and GOVERNANCE.md describes the hook's EOL check as already whole-repo. The comment on the next line ("add the same two checks in whole-repo mode") inherits the error for Lint: EOL, which runs exactly what the hook runs.
A repository carrying the snippet repeats the false claim. ptr727/ESPHome-NonRoot caught it in its own local review while adopting the Lint group and scoped its local comment to the prose task.
Done means both snippets say only the prose gate is diff-scoped in the hook.
Activity
Say Only the Prose Gate Is Diff-Scoped in the Commit Hook (#3450)