PLAN-68: Implement shorthand disambiguation standard, hs-shorthand-lint, pre-commit gate, and core comment/UI migration
This commit is contained in:
1 parent
32cd771707
commit
9378c594f9
15 files changed
+301
-94
No files matched your search
@@ -514,6 +514,7 @@ if [[ -d "${CORE_SRC}" ]]; then
|
||||
git -C "${REPO_ROOT}" add site/assets/closeups/
|
||||
fi
|
||||
python3 -m hyperstitionstud_io.publishing.readme_sync --repo "${REPO_NAME}" --stage
|
||||
python3 -m hyperstitionstud_io.ci.shorthand_lint --staged-diff --repo "${REPO_ROOT}"
|
||||
fi
|
||||
"""
|
||||
|
||||
@@ -559,7 +560,7 @@ def install_git_pre_commit_hooks(ws_root: Path | None = None, check_only: bool =
|
||||
if not hooks_dir.is_dir():
|
||||
continue
|
||||
for h_name, h_script, markers in (
|
||||
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync", "deploy_scripts_sync")),
|
||||
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync", "deploy_scripts_sync", "shorthand_lint")),
|
||||
("commit-msg", COMMIT_MSG_HOOK_SCRIPT, ("COMMIT-MSG GATE",)),
|
||||
):
|
||||
hook_path = hooks_dir / h_name
|
||||
|
||||
Reference in new issue
Block a user