Repository navigation
Chore: Bump the aislop hook to 0.22.1 - #249
ModeSevenIndustrialSolutions merged 1 commit into
Conversation
Two other places already run aislop 0.22.1: the author job's tools/copilot-cli/ install and the organisation's AI Slop Scan check. Bump the local hook's pin to match so contributors check with the same version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the aislop dependency-pin update.
No open issues 🎉
What changed in this PR
Aligns the local aislop hook with version 0.22.1 already used by the author job and organisation CI, addressing issue #248.
Changes:
- Updates the hook dependency from
aislop@0.16.0toaislop@0.22.1. - Leaves the existing comment, hook settings, and all other hooks unchanged.
| File | Description |
|---|---|
.pre-commit-config.yaml |
Bumps the aislop dependency pin to 0.22.1. |
Review effort: Balanced
There was a problem hiding this comment.
🤖 Antagonistic review by agent: no line-level findings; the summary below is the verdict.
The one-line version bump matches the existing aislop 0.22.1 dependency in tools/copilot-cli and preserves the hook command and gate configuration. No actionable defects found in the diff or its surrounding configuration.
Antagonistic round 1 of 3.
Automated antagonistic review by lf-releng-antagonistic-review-bot[bot] using model gpt-6-astra; see the run. This is not a human review and never an approval: a maintainer must still review and approve this pull request.
7398ce3
into
lfreleng-actions:main
Closes #248
Authored by an AI agent; human review required; changes the lint gate, .pre-commit-config.yaml
claude-opus-5.5via GitHub Copilot CLI41dee07dab03ca8e56fcaba684c58973b81e07b7.pre-commit-config.yaml, which decides the checks the repository runs; theprecommit-edits-oklabel on the issue granted it; review every hook changeuv run python -B -m unittest discover -s testsprek run --hook-stage commit-msg --commit-msg-filename msg.txtprek run --files .pre-commit-config.yamlThe
github-code-monkey-botworkflow opened this pull request.Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.
Summary
The local
aislophook in.pre-commit-config.yamlpinnedaislop@0.16.0, while the author job (tools/copilot-cli/) and the organisation's "AI Slop Scan" check already run aislop 0.22.1. This bumps the hook'sadditional_dependenciespin toaislop@0.22.1so contributors check locally with the same version.The only change is that one pin. The comment above the hook, every other hook and every
revare unchanged.Validation
Run with
AISLOP_NO_TELEMETRY=1set:uv run python -B -m unittest discover -s tests: exit 0prek run --hook-stage commit-msgon the commit message: exit 0 (gitlint passed)prek run --files .pre-commit-config.yaml: exit 0, with every hook passing or skipped for lack of matching files. Theaislophook ranaislop ciacross the whole repository and passed at thefailBelow: 100threshold. I checked that the prek hook environment had installed aislop 0.22.1.No hooks were excluded.