greenman-src/ holds the kit source; uv run build.py there rewrites greenman/. deploy skips *-src/. The page now uses the index's ink, bone and gold with the same serif, and no longer loads web fonts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GrX9qMoNihcWLX3xoJhabw
12 lines
425 B
Python
12 lines
425 B
Python
"""Run audit.py quietly and return its problems, for build.py. Run audit.py itself to read the full walk-through."""
|
|
import contextlib, io, importlib
|
|
|
|
def run():
|
|
buf = io.StringIO()
|
|
with contextlib.redirect_stdout(buf):
|
|
import audit, manifest
|
|
importlib.reload(audit)
|
|
probs = list(audit.problems) + list(manifest.validate(verbose=False))
|
|
print(f'audit: {len(probs)} problems')
|
|
return probs
|