From 320170af50f1ac7799c9f85c53bc5151cccc783c Mon Sep 17 00:00:00 2001 From: Seungpyo1007 Date: Tue, 14 Jul 2026 18:19:47 +0900 Subject: [PATCH] chore: fix stale validator references in docs - app/validate.py docstring: `python -m scripts.validate` -> `python -m app.validate` (no `scripts/` module exists; validator lives at app/validate.py, matching README + CI) - .gitignore: drop stale note about non-existent `data/_staging/` directory Refs #1 --- .gitignore | 3 --- app/validate.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e48765f8a56d..067a4b2fa368 100644 --- a/.gitignore +++ b/.gitignore @@ -28,9 +28,6 @@ env/ # Local tooling/editor config (kept out of the public repo) .claude/ -# Note: data/_staging/ (raw collected candidate pool) is intentionally tracked — -# comprehensive data collection is a purpose of this repo. - # Build-only: regenerated on every Pages deploy (site/scripts/build-*.mjs) site/public/v1/history.json site/public/v1/verification.json diff --git a/app/validate.py b/app/validate.py index b86983ea196e..d8266942a9d8 100644 --- a/app/validate.py +++ b/app/validate.py @@ -1,7 +1,7 @@ """Validate seed JSON against the schema and conventions (§9.3, §15.3). Checks: required fields, slug convention (§14.1), value ranges/units (§14.3), -and foreign-key integrity by slug. Run with ``python -m scripts.validate``; +and foreign-key integrity by slug. Run with ``python -m app.validate``; exits non-zero on the first failure set (used by CI ``validate-data.yml``). """