Add pre-commit hooks to omp-config #1
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/omp-config#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Repository
omp-configdoes not have pre-commit hooks configured. Evaluate the repo's language/tooling and add appropriate hooks (.pre-commit-config.yamlfor Python,lefthook.ymlfor Node, or.githooks/pre-commitfor simpler repos).⏸ Needs Decision
What needs to be decided?
blocked:needs-decisionlabel to route back to triage.Blocking factors:
Scope: small Risk: low Spec: partial Type: chore
Summary: Add pre-commit hooks to omp-config for YAML validation on commit.
Suggestion: Hooks already exist —
.pre-commit-config.yaml(pre-commit framework with yamllint v1.35.1) and.githooks/pre-commit(standalone shell script wired viacore.hooksPath = .githooks). The.githooksapproach is active; the pre-commit framework config is present but requirespre-commit installto take effect. No action needed unless the goal is to consolidate to one approach or add extra checks (e.g., trailing-whitespace, end-of-file-fixer).Rationale: Scope: <5 files, trivially small. Risk: low — additive config change, no code paths. Spec: partial — no AGENTS.md/CONTEXT.md exists, but YAML validation is aligned for a YAML-only config repo. Type: chore — developer tooling setup. Notably, hooks are already fully configured (both
.pre-commit-config.yamland.githooks/pre-commit), making this issue potentially stale.To unblock: Remove the
blocked:needs-decisionlabel. The triage will apply the appropriate outcome based on your choice above.Pre-commit hooks already implemented and on origin/main — issue auto-stale-closure eligible.
Evidence:
07704e4"Add yamllint pre-commit setup" added.githooks/pre-commit,.pre-commit-config.yaml, and.yamllint.43e2af1"Add .gitignore for GSD infrastructure" added.gitignore.origin/main=35f4163. No work needed.Closing as resolved. If you actually want me to remove pre-commit hooks from this repo, comment and I'll reopen with a new issue.