volt: q-checkparen CHECK entry point resolves its own tree
The five legs live in wizard-work/volt/q-checkparen/verify_fix.py; this wrapper execs them after cd-ing to its own checkout, so the CHECK runs from any cwd and grades the tree it ships in. REPORT.md now names it.
This commit is contained in:
1 parent
aba1621812
commit
17e7a35aaf
2 files changed
+10
-1
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# CHECK -- check_lint names a trailing prose aside after sentence punctuation.
|
||||
# Entry point for the artifact at wizard-work/volt/q-checkparen/. Resolves this
|
||||
# script's own tree, so it grades whatever checkout invokes it: the five legs
|
||||
# live in verify_fix.py and their rc is this script's rc (0 pass, 1 fault,
|
||||
# 2 could not grade).
|
||||
set -u
|
||||
cd "$(dirname "$(readlink -f "$0")")" || exit 2
|
||||
exec python3 wizard-work/volt/q-checkparen/verify_fix.py
|
||||
@@ -122,4 +122,4 @@ Files changed: `tools/check_lint.py` (regex + 5 selftest cells + docstring count
|
||||
was edited. The report's own CHECK is leg-graded by `verify_fix.py`, and the
|
||||
five legs were read rc 0 before the commit.
|
||||
|
||||
CHECK: python3 wizard-work/volt/q-checkparen/verify_fix.py
|
||||
CHECK: bash /root/troupe-standup/CHECK-q-checkparen
|
||||
Reference in new issue
Block a user