From 1f23e3f98006c46f36841414e30e78101b9fb71f Mon Sep 17 00:00:00 2001 From: Matt Van Horn Date: Tue, 21 Apr 2026 07:05:35 -0700 Subject: [PATCH] test: skip docs/ in memory-dir-paths sweep (#291) The regression test from #290 walks the filesystem via Path.rglob, so docs/plans/*.md files (gitignored, created by internal planning) trip the assertion on any dev machine that has run ce:plan in this repo. Fresh clones and CI never see them, but local runs fail. Adding docs to skip_dirs keeps the guard narrow to first-class source files while letting internal planning docs reference old paths verbatim. Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> --- tests/test_version_consistency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_version_consistency.py b/tests/test_version_consistency.py index 00489e6..dfa446b 100644 --- a/tests/test_version_consistency.py +++ b/tests/test_version_consistency.py @@ -37,7 +37,7 @@ class TestVersionConsistency(unittest.TestCase): def test_no_stray_hardcoded_memory_dir_paths(self) -> None: allowed_suffixes = {".md", ".py", ".sh", ".txt", ".yml", ".yaml", ".json"} - skip_dirs = {".git", "assets", "fixtures"} + skip_dirs = {".git", "assets", "fixtures", "docs"} offenders = [] for path in ROOT.rglob("*"):