Make the test of the store key's code files follow every kind of import, plain, absolute and inside functions, starting from build.py too, and add the three modules build.py imports that it left out: fingerprint, redirects and site

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-20 17:52:37 -07:00
1 parent 0bb20c60dd
commit 622ffc74be
2 files changed
+40 -10

No files matched your search

+5 -1
View File
@@ -35,7 +35,11 @@ CODE_FILES = [os.path.join(HERE, "build.py"),
# what those import (a test, test_build.py, keeps this list closed under imports)
os.path.join(HERE, "olt", "words.py"),
os.path.join(HERE, "olt", "elevation.py"),
os.path.join(HERE, "olt", "markup.py")]
os.path.join(HERE, "olt", "markup.py"),
# and what build.py itself imports (the pages step, olt.pages, is not trail code)
os.path.join(HERE, "olt", "fingerprint.py"),
os.path.join(HERE, "olt", "redirects.py"),
os.path.join(HERE, "olt", "site.py")]
# Incremental-build cache, deliberately outside the publish directory.
CACHE_DIR = os.path.join(HERE, ".cache")
# Files copied verbatim into the root of the publish directory (_headers, ...).