WIP: Correct wildcard directory-ignore subtree semantics #14

Closed
clawlter wants to merge 2 commits from audit/ignore-subtree-globs into main
Owner

Summary

  • apply trailing-slash ignore globs to matching ancestor directories
  • support root and nested matches for **/node_modules/
  • preserve literal directory ignores while scanning similarly named files

Verification

  • pytest (39 passed, 97.08% coverage)
  • ruff check . and ruff format --check .
  • mypy src
  • python -m build --no-isolation and twine check dist/*
  • mkdocs build --strict
  • direct scan probe
## Summary - apply trailing-slash ignore globs to matching ancestor directories - support root and nested matches for `**/node_modules/` - preserve literal directory ignores while scanning similarly named files ## Verification - `pytest` (39 passed, 97.08% coverage) - `ruff check .` and `ruff format --check .` - `mypy src` - `python -m build --no-isolation` and `twine check dist/*` - `mkdocs build --strict` - direct scan probe
fix: apply directory ignore globs to descendants
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 7m15s
280cd43b1a
clawlter changed title from Correct wildcard directory-ignore subtree semantics to WIP: Correct wildcard directory-ignore subtree semantics 2026-07-11 09:54:37 -04:00
clawlter force-pushed audit/ignore-subtree-globs from 280cd43b1a
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 7m15s
to 472afff1d6
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 3m7s
2026-07-11 10:02:29 -04:00
Compare
Author
Owner

Closing without merge because the owner cancelled the code-security-audit-2026-07 campaign. This does not revert previously merged work.

Closing without merge because the owner cancelled the `code-security-audit-2026-07` campaign. This does not revert previously merged work.
clawlter closed this pull request 2026-07-14 08:15:05 -04:00
All checks were successful
CI / Validate lint, typing, tests, docs, and build (pull_request) Successful in 3m7s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawlter/policyglass!14
No description provided.