Repository navigation
chore: remove dead validator code and unused flags - #81
Merged
Merged
Conversation
- validate.py: drop an if block whose body was only pass, a shell-name set fully covered by the basename check next to it, and a loop over a one-element tuple; move the shutil import to the top. - build.sh: drop IGNORECASE=0, which is awk's default. - validate workflow: the validate job never pushes, so its checkout no longer keeps the token in the git config. No behaviour change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
…flags No caller passes them: CI runs plain validate.py, the Gameplane Makefile runs validate.py --pin and calls gp-module validate directly, and none of the three is in the -h text. --offline and --pin stay. Like any unknown option, the removed flags are now ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Claude <noreply@anthropic.com>
This was referenced Nov 27, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cleanup pass. No template, image or module version is touched.
if img_uid is None:block whose body was onlypassvalidate.py[]either way; the explanation stays as a commentshell_namessetvalidate.pybashorsh, which the check next to it already testsvalidate.py--json,--strict,--skip-offlinevalidate.pyvalidate.py, the Gameplane Makefile runs--pin), and none was in-h. Like any unknown option they are now ignored.--offlineand--pinstayimport shutilto the topvalidate.pyBEGIN{IGNORECASE=0}build.shpersist-credentials: falseon thevalidatejob checkout.github/workflows/validate.ymldevcontainerjobFlag removal approved by the maintainer.
Verification
python3 -m py_compile validate.pyandbash -n build.shpass. CI is green.🤖 Generated with Claude Code