Repository navigation
fix(hooks): rename pymarkdown excludes to CONTRIBUTING.md in flake mirror - #1383
Merged
Merged
Conversation
…rror PR #1376 renamed CONTRIBUTE.md to CONTRIBUTING.md and updated the root .pre-commit-config.yaml, but missed the flake-side mirror in nix/hooks.nix (runner yaml, check, and consumer profiles) and the scaffold template assets/workspace/.pre-commit-config.yaml. The drift gate test_runner_render_matches_committed_config failed on dev; both mirrors now exclude the renamed guide again. Refs: #1380
c-vigo
force-pushed
the
bugfix/1380-hooks-nix-contributing-rename
branch
from
August 7, 2026 16:37
15e5af3 to
8edb727
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #1376 (#1372) renamed
CONTRIBUTE.mdtoCONTRIBUTING.mdand updated the pymarkdown exclude in the root.pre-commit-config.yaml, but missed the flake-side mirror. This PR completes the rename:nix/hooks.nix: the three pymarkdown exclude patterns (runneryaml,check, andconsumerprofiles) and the line-436 comment now sayCONTRIBUTING.assets/workspace/.pre-commit-config.yaml: the scaffold template's pymarkdown exclude — same rename fallout, and required for the scaffold half of the drift gate (test_scaffold_render_matches_scaffold_config) to stay green once the shared render innix/hooks.nixis fixed.CHANGELOG.md## Unreleased→ Fixed entry (plus its managedassets/workspace/.devcontainer/CHANGELOG.mdmirror, updated by thesync-manifesthook).Testing
No new test: the existing drift gate
tests/test_flake_hooks.py::TestPortableRenderFidelity::test_runner_render_matches_committed_configalready fails onorigin/devand pins this fix (TDD RED pre-satisfied).uv run pytest tests/test_flake_hooks.py -k test_runner_render_matches_committed_config→ FAILED withpymarkdown.exclude: rendered='^(README\\.md|CONTRIBUTE\\.md|TESTING\\.md)' committed='^(README\\.md|CONTRIBUTING\\.md|TESTING\\.md)'.uv run pytest tests/test_flake_hooks.py→ 36 passed.just precommit(full suite, all files) green.Closes #1380