Sandpies Claude Opus 5 commited on
Commit
a60407d
·
1 Parent(s): 499eacf

The registry's scanner reads files the registry never receives

Browse files

`comfy node publish` runs `ruff check . --select S102,S307,E702` over the whole
working directory. The upload does not: zip_files() filters git-tracked files
through .comfyignore, so tools/ is not in the artifact. The scan does not know
that, and flagged a semicolon in tools/check_media_slots.py -- a file no user
will ever have.

Cosmetic today, because the check runs --exit-zero. Not cosmetic soon: the CLI
says compound statements become an error, and when they do, a file that never
ships would block a publish. Split the line.

The v2.0.0 tag stays at 499eacf. This commit changes nothing in the published
file set -- all 47 of those are identical -- so the tag still marks the tree
that shipped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PLXmbwfdXirQ5oFreXPcMi

Files changed (1) hide show
  1. tools/check_media_slots.py +2 -1
tools/check_media_slots.py CHANGED
@@ -71,7 +71,8 @@ def main():
71
 
72
  print("the node declares what core accepts")
73
  it = H3.HandTieClips.INPUT_TYPES()
74
- allw = dict(it.get("required", {})); allw.update(it.get("optional", {}))
 
75
  vids = [w for w in allw if re.fullmatch(r"reference_video(_[23])?_file", w)]
76
  auds = [w for w in allw if re.fullmatch(r"voice(_[23])?_file", w)]
77
  ck("three reference video slots", len(vids) == 3, str(sorted(vids)))
 
71
 
72
  print("the node declares what core accepts")
73
  it = H3.HandTieClips.INPUT_TYPES()
74
+ allw = dict(it.get("required", {}))
75
+ allw.update(it.get("optional", {}))
76
  vids = [w for w in allw if re.fullmatch(r"reference_video(_[23])?_file", w)]
77
  auds = [w for w in allw if re.fullmatch(r"voice(_[23])?_file", w)]
78
  ck("three reference video slots", len(vids) == 3, str(sorted(vids)))