mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 22:07:24 +00:00
Discovered during Phase B pilot: running `--fix packages/secubox-hub` yielded zero files because walk() computed `rel` relative to the walk root (the subdir) while allowlist patterns are repo-relative. Add optional `repo_root` parameter to walk(); when present, allowlist matching uses paths relative to it instead of the walk root. Backwards-compatible (defaults to None, preserving existing tests). main() passes the discovered repo_root through. Regression test added: test_walk_subdir_with_repo_root_arg. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_license_headers.py | ||