E501 Line too long (115 > 100)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:26:101
   |
25 | def doc(source=None,review=None):
26 |  return build_document(PATH,SOURCE if source is None else source,None,None,[],REVIEW if review is None else review)
   |                                                                                                     ^^^^^^^^^^^^^^^
27 |
28 | def refuse(s,r):
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:37:93
   |
35 |  v=pointer(SOURCE,f['pointer'])
36 |  assert canonical(v)==canonical(f['value']) and type(v).__name__==f['json_type']
37 |  for k in ['label','type','schema_default','unit','limits','effect','execution_note','role']:assert f[k]
   |                                                                                             ^
38 |  for k in f['evidence']:
39 |   e=BLOCK['sources'][k];raw=(OUT/e['local_file']).read_bytes()
   |

E501 Line too long (104 > 100)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:37:101
   |
35 |  v=pointer(SOURCE,f['pointer'])
36 |  assert canonical(v)==canonical(f['value']) and type(v).__name__==f['json_type']
37 |  for k in ['label','type','schema_default','unit','limits','effect','execution_note','role']:assert f[k]
   |                                                                                                     ^^^^
38 |  for k in f['evidence']:
39 |   e=BLOCK['sources'][k];raw=(OUT/e['local_file']).read_bytes()
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:39:24
   |
37 |  for k in ['label','type','schema_default','unit','limits','effect','execution_note','role']:assert f[k]
38 |  for k in f['evidence']:
39 |   e=BLOCK['sources'][k];raw=(OUT/e['local_file']).read_bytes()
   |                        ^
40 |   assert hashlib.sha256(raw).hexdigest()==e['sha256']
41 |   assert 1<=e['lines'][0]<=e['lines'][1]<=len(raw.decode().splitlines())
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:48:31
   |
46 | def test_each_saved_position_refuses_forged_source_or_definition(f,variant):
47 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW)
48 |  b=r['fixed_version_document'];bf=next(x for x in b['fields'] if x['pointer']==f['pointer'])
   |                               ^
49 |  if variant=='text':bf['limits']='forged'
50 |  else:
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:49:20
   |
47 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW)
48 |  b=r['fixed_version_document'];bf=next(x for x in b['fields'] if x['pointer']==f['pointer'])
49 |  if variant=='text':bf['limits']='forged'
   |                    ^
50 |  else:
51 |   parent,_,key=f['pointer'].rpartition('/');target=pointer(s,parent)
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:51:44
   |
49 |  if variant=='text':bf['limits']='forged'
50 |  else:
51 |   parent,_,key=f['pointer'].rpartition('/');target=pointer(s,parent)
   |                                            ^
52 |   target[int(key) if isinstance(target,list) else key]='forged' if variant=='type' else None
53 |   bf['value']=pointer(s,f['pointer']);bf['json_type']=type(bf['value']).__name__
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:53:38
   |
51 |   parent,_,key=f['pointer'].rpartition('/');target=pointer(s,parent)
52 |   target[int(key) if isinstance(target,list) else key]='forged' if variant=='type' else None
53 |   bf['value']=pointer(s,f['pointer']);bf['json_type']=type(bf['value']).__name__
   |                                      ^
54 |  refuse(s,r)
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:59:49
   |
57 | @pytest.mark.parametrize('variant',['mode','identity'])
58 | def test_each_node_mode_and_identity_bound(i,variant):
59 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);n=s['nodes'][i]
   |                                                 ^
60 |  if variant=='mode':n['mode']=0 if n['mode']==4 else 4
61 |  else:n['properties']['ver']='forged'
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:60:20
   |
58 | def test_each_node_mode_and_identity_bound(i,variant):
59 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);n=s['nodes'][i]
60 |  if variant=='mode':n['mode']=0 if n['mode']==4 else 4
   |                    ^
61 |  else:n['properties']['ver']='forged'
62 |  refuse(s,r)
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:61:6
   |
59 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);n=s['nodes'][i]
60 |  if variant=='mode':n['mode']=0 if n['mode']==4 else 4
61 |  else:n['properties']['ver']='forged'
   |      ^
62 |  refuse(s,r)
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:66:49
   |
64 | @pytest.mark.parametrize('i',range(24))
65 | def test_each_physical_endpoint_bound_both_directions(i):
66 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);s['links'][i][3]=99999;refuse(s,r)
   |                                                 ^
67 |
68 | @pytest.mark.parametrize('variant',['empty_info','empty_loop','missing_bypasser','missing_audio_value','history','comment','summary','…
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:66:72
   |
64 | @pytest.mark.parametrize('i',range(24))
65 | def test_each_physical_endpoint_bound_both_directions(i):
66 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);s['links'][i][3]=99999;refuse(s,r)
   |                                                                        ^
67 |
68 | @pytest.mark.parametrize('variant',['empty_info','empty_loop','missing_bypasser','missing_audio_value','history','comment','summary','…
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:70:49
   |
68 | @pytest.mark.parametrize('variant',['empty_info','empty_loop','missing_bypasser','missing_audio_value','history','comment','summary','…
69 | def test_special_shapes_history_comments_and_restoration_bound(variant):
70 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
   |                                                 ^
71 |  if variant=='empty_info':ns[27]['widgets_values']=[]
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:70:84
   |
68 | @pytest.mark.parametrize('variant',['empty_info','empty_loop','missing_bypasser','missing_audio_value','history','comment','summary','…
69 | def test_special_shapes_history_comments_and_restoration_bound(variant):
70 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
   |                                                                                    ^
71 |  if variant=='empty_info':ns[27]['widgets_values']=[]
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
   |

E501 Line too long (113 > 100)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:70:101
   |
68 | @pytest.mark.parametrize('variant',['empty_info','empty_loop','missing_bypasser','missing_audio_value','history','comment','summary','…
69 | def test_special_shapes_history_comments_and_restoration_bound(variant):
70 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
   |                                                                                                     ^^^^^^^^^^^^^
71 |  if variant=='empty_info':ns[27]['widgets_values']=[]
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:71:26
   |
69 | def test_special_shapes_history_comments_and_restoration_bound(variant):
70 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
71 |  if variant=='empty_info':ns[27]['widgets_values']=[]
   |                          ^
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
73 |  elif variant=='missing_bypasser':ns[15]['widgets_values']=[]
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:72:28
   |
70 |  s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW);ns={n['id']:n for n in s['nodes']};b=r['fixed_version_document']
71 |  if variant=='empty_info':ns[27]['widgets_values']=[]
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
   |                            ^
73 |  elif variant=='missing_bypasser':ns[15]['widgets_values']=[]
74 |  elif variant=='missing_audio_value':ns[36]['widgets_values'].append('')
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:73:34
   |
71 |  if variant=='empty_info':ns[27]['widgets_values']=[]
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
73 |  elif variant=='missing_bypasser':ns[15]['widgets_values']=[]
   |                                  ^
74 |  elif variant=='missing_audio_value':ns[36]['widgets_values'].append('')
75 |  elif variant=='history':ns[10]['widgets_values']['videopreview']['params']['frame_rate']=30
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:74:37
   |
72 |  elif variant=='empty_loop':ns[20]['widgets_values']={}
73 |  elif variant=='missing_bypasser':ns[15]['widgets_values']=[]
74 |  elif variant=='missing_audio_value':ns[36]['widgets_values'].append('')
   |                                     ^
75 |  elif variant=='history':ns[10]['widgets_values']['videopreview']['params']['frame_rate']=30
76 |  elif variant=='comment':ns[35]['widgets_values'][0]='forged'
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:75:25
   |
73 |  elif variant=='missing_bypasser':ns[15]['widgets_values']=[]
74 |  elif variant=='missing_audio_value':ns[36]['widgets_values'].append('')
75 |  elif variant=='history':ns[10]['widgets_values']['videopreview']['params']['frame_rate']=30
   |                         ^
76 |  elif variant=='comment':ns[35]['widgets_values'][0]='forged'
77 |  elif variant=='summary':b['user_overview']='already executed'
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:76:25
   |
74 |  elif variant=='missing_audio_value':ns[36]['widgets_values'].append('')
75 |  elif variant=='history':ns[10]['widgets_values']['videopreview']['params']['frame_rate']=30
76 |  elif variant=='comment':ns[35]['widgets_values'][0]='forged'
   |                         ^
77 |  elif variant=='summary':b['user_overview']='already executed'
78 |  elif variant=='citation':b['sources'][0]['sha256']='0'*64
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:77:25
   |
75 |  elif variant=='history':ns[10]['widgets_values']['videopreview']['params']['frame_rate']=30
76 |  elif variant=='comment':ns[35]['widgets_values'][0]='forged'
77 |  elif variant=='summary':b['user_overview']='already executed'
   |                         ^
78 |  elif variant=='citation':b['sources'][0]['sha256']='0'*64
79 |  elif variant=='source_sha':b['source_sha1']='0'*40
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:78:26
   |
76 |  elif variant=='comment':ns[35]['widgets_values'][0]='forged'
77 |  elif variant=='summary':b['user_overview']='already executed'
78 |  elif variant=='citation':b['sources'][0]['sha256']='0'*64
   |                          ^
79 |  elif variant=='source_sha':b['source_sha1']='0'*40
80 |  elif variant=='path':b['source_path']='forged'
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:79:28
   |
77 |  elif variant=='summary':b['user_overview']='already executed'
78 |  elif variant=='citation':b['sources'][0]['sha256']='0'*64
79 |  elif variant=='source_sha':b['source_sha1']='0'*40
   |                            ^
80 |  elif variant=='path':b['source_path']='forged'
81 |  elif variant=='layout':ns[8]['pos'][0]+=1
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:80:22
   |
78 |  elif variant=='citation':b['sources'][0]['sha256']='0'*64
79 |  elif variant=='source_sha':b['source_sha1']='0'*40
80 |  elif variant=='path':b['source_path']='forged'
   |                      ^
81 |  elif variant=='layout':ns[8]['pos'][0]+=1
82 |  elif variant=='ue':ns[8]['properties']['ue_properties']['version']='forged'
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:81:24
   |
79 |  elif variant=='source_sha':b['source_sha1']='0'*40
80 |  elif variant=='path':b['source_path']='forged'
81 |  elif variant=='layout':ns[8]['pos'][0]+=1
   |                        ^
82 |  elif variant=='ue':ns[8]['properties']['ue_properties']['version']='forged'
83 |  else:s['extra']['frontendVersion']='forged'
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:82:20
   |
80 |  elif variant=='path':b['source_path']='forged'
81 |  elif variant=='layout':ns[8]['pos'][0]+=1
82 |  elif variant=='ue':ns[8]['properties']['ue_properties']['version']='forged'
   |                    ^
83 |  else:s['extra']['frontendVersion']='forged'
84 |  refuse(s,r)
   |

E701 Multiple statements on one line (colon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:83:6
   |
81 |  elif variant=='layout':ns[8]['pos'][0]+=1
82 |  elif variant=='ue':ns[8]['properties']['ue_properties']['version']='forged'
83 |  else:s['extra']['frontendVersion']='forged'
   |      ^
84 |  refuse(s,r)
   |

E702 Multiple statements on one line (semicolon)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:87:41
   |
86 | def test_precise_inventory_connections_and_limits():
87 |  ns={n['id']:n for n in SOURCE['nodes']};b=BLOCK
   |                                         ^
88 |  assert len(ns)==22 and len(SOURCE['links'])==24
89 |  assert {i for i,n in ns.items() if n['mode']==0}=={8,18,21,29,10,15,5,35,13,6}
   |

E501 Line too long (104 > 100)
  --> calliope-backend/tests/test_storyboard_fixed_document.py:91:101
   |
89 |  assert {i for i,n in ns.items() if n['mode']==0}=={8,18,21,29,10,15,5,35,13,6}
90 |  assert {i for i,n in ns.items() if n['mode']==4}=={28,27,30,25,20,19,22,31,24,26,1,36}
91 |  assert ns[27]['widgets_values']=={} and ns[20]['widgets_values']==[] and 'widgets_values' not in ns[15]
   |                                                                                                     ^^^^
92 |  assert ns[36]['widgets_values']==['tmp/audio']
93 |  assert ns[18]['widgets_values']==[16] and type(ns[18]['widgets_values'][0]) is int
   |

E501 Line too long (229 > 100)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:102:101
    |
100 | …
101 | …
102 | …),(10,'frame_rate',23),(1,'force_rate',26),(25,'force_rate',45),(25,'skip_first_frames',38),(25,'frame_load_cap',50),(19,'total',29)]:
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 | …
104 | …tch'])
    |

E501 Line too long (101 > 100)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:104:101
    |
102 |  for nid,name,e in [(8,'skip_first_images',19),(8,'image_load_cap',20),(10,'filename_prefix',21),(10,'frame_rate',23),(1,'force_rate'…
103 |   assert next(x for x in ns[nid]['inputs'] if x['name']==name)['link']==e
104 |  assert all(x['link'] is None for x in ns[10]['inputs'] if x['name'] in ['audio','vae','meta_batch'])
    |                                                                                                     ^
105 |  assert ns[1]['outputs'][0]['links'] in ([],None)
106 |  assert next(x for x in ns[26]['inputs'] if x['name']=='caption')['link'] is None
    |

E702 Multiple statements on one line (semicolon)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:107:9
    |
105 |  assert ns[1]['outputs'][0]['links'] in ([],None)
106 |  assert next(x for x in ns[26]['inputs'] if x['name']=='caption')['link'] is None
107 |  d=doc();assert d['fixed_version']['matched']
    |         ^
108 |  assert d['dependencies']['check_state']=='unchecked' and d['status']==dict(imported=True,doc_done=False,exec_verified=False)
109 |  for c in b['comments']:
    |

E501 Line too long (125 > 100)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:108:101
    |
106 |  assert next(x for x in ns[26]['inputs'] if x['name']=='caption')['link'] is None
107 |  d=doc();assert d['fixed_version']['matched']
108 |  assert d['dependencies']['check_state']=='unchecked' and d['status']==dict(imported=True,doc_done=False,exec_verified=False)
    |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
109 |  for c in b['comments']:
110 |   assert pointer(SOURCE,c['pointer'])==[c['text']]
    |

E501 Line too long (102 > 100)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:111:101
    |
109 |  for c in b['comments']:
110 |   assert pointer(SOURCE,c['pointer'])==[c['text']]
111 |   assert next(n for n in d['source_notes'] if str(n['node_id'])==c['node_id'])['content']==[c['text']]
    |                                                                                                     ^^
112 |  assert not b['counts']['final_prompt_constructed']
113 |  for word in ['原前端','purge_cache','caption','audioUI','每批截取帧数','不模拟','历史','30','16','1|2']:
    |

E501 Line too long (105 > 100)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:113:87
    |
111 |   assert next(n for n in d['source_notes'] if str(n['node_id'])==c['node_id'])['content']==[c['text']]
112 |  assert not b['counts']['final_prompt_constructed']
113 |  for word in ['原前端','purge_cache','caption','audioUI','每批截取帧数','不模拟','历史','30','16','1|2']:
    |                                                                                                     ^^^^^
114 |   assert word in ' '.join(b['flow'])
    |

E702 Multiple statements on one line (semicolon)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:118:86
    |
116 | def test_old_review_objects_and_27_documents_unchanged():
117 |  resource='calliope-backend/src/calliope/comfyui/source_reviews.json'
118 |  old=json.loads(subprocess.check_output(['git','show','2a82f1f:'+resource],cwd=REPO));now=json.loads((REPO/resource).read_bytes())
    |                                                                                      ^
119 |  now[PATH].pop('fixed_version_document');assert now==old and len(DEFINITIONS)==28
120 |  blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
    |

E702 Multiple statements on one line (semicolon)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:119:41
    |
117 |  resource='calliope-backend/src/calliope/comfyui/source_reviews.json'
118 |  old=json.loads(subprocess.check_output(['git','show','2a82f1f:'+resource],cwd=REPO));now=json.loads((REPO/resource).read_bytes())
119 |  now[PATH].pop('fixed_version_document');assert now==old and len(DEFINITIONS)==28
    |                                         ^
120 |  blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
121 |  assert len(blocks)==27 and sum(len(b['fields']) for b in blocks)==838 and sum(len(build_document(p,json.loads((REPO/p).read_bytes())…
    |

E501 Line too long (227 > 100)
   --> calliope-backend/tests/test_storyboard_fixed_document.py:121:101
    |
119 | …
120 | …
121 | …nt(p,json.loads((REPO/p).read_bytes()),None,None,[],r)['source_notes']) for p,r in old.items() if 'fixed_version_document' in r)==19
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122 | …
    |

I001 [*] Import block is un-sorted or un-formatted
 --> docs/hel-892/storyboard-document-evidence/build_definition.py:2:1
  |
1 |   """Source-bound storyboard editorial definition. Never execute the described graph."""
2 | / from __future__ import annotations
3 | | import hashlib
4 | | import json
5 | | from pathlib import Path
  | |________________________^
6 |
7 |   REPO = Path(__file__).resolve().parents[3]
  |
help: Organize imports
  |
2 | from __future__ import annotations
3 +
4 | import hashlib
  |

E501 Line too long (117 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:10:72
   |
 8 | OUT = Path(__file__).resolve().parent
 9 | REF = OUT.parent / 'storyboard-reference'
10 | PATHS = ['example_ComfyUI_workflows/0-基础处理：图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json']
   |                                                                                                     ^^^^^^^^^^^^^^^^^
11 | def canonical(value):
12 |  return json.dumps(value,ensure_ascii=False,sort_keys=True,separators=(',',':')).encode()
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:15:19
   |
14 | def build(index=0):
15 |  path=PATHS[index]; raw=(REPO/path).read_bytes(); graph=json.loads(raw)
   |                   ^
16 |  entries=json.loads((REF/'sources.json').read_bytes())['sources']; refs=[]
17 |  def ref(key,file,first,last,claim):
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:15:49
   |
14 | def build(index=0):
15 |  path=PATHS[index]; raw=(REPO/path).read_bytes(); graph=json.loads(raw)
   |                                                 ^
16 |  entries=json.loads((REF/'sources.json').read_bytes())['sources']; refs=[]
17 |  def ref(key,file,first,last,claim):
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:16:66
   |
14 | def build(index=0):
15 |  path=PATHS[index]; raw=(REPO/path).read_bytes(); graph=json.loads(raw)
16 |  entries=json.loads((REF/'sources.json').read_bytes())['sources']; refs=[]
   |                                                                  ^
17 |  def ref(key,file,first,last,claim):
18 |   e=next(e for e in entries if e['id']==key and e['file']==file); data=(REF/e['local_file']).read_bytes()
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:18:65
   |
16 |  entries=json.loads((REF/'sources.json').read_bytes())['sources']; refs=[]
17 |  def ref(key,file,first,last,claim):
18 |   e=next(e for e in entries if e['id']==key and e['file']==file); data=(REF/e['local_file']).read_bytes()
   |                                                                 ^
19 |   assert hashlib.sha256(data).hexdigest()==e['sha256']
20 |   assert 1<=first<=last<=len(data.decode().splitlines())
   |

E501 Line too long (105 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:18:101
   |
16 |  entries=json.loads((REF/'sources.json').read_bytes())['sources']; refs=[]
17 |  def ref(key,file,first,last,claim):
18 |   e=next(e for e in entries if e['id']==key and e['file']==file); data=(REF/e['local_file']).read_bytes()
   |                                                                                                     ^^^^^
19 |   assert hashlib.sha256(data).hexdigest()==e['sha256']
20 |   assert 1<=first<=last<=len(data.decode().splitlines())
   |

F841 Local variable `info` is assigned to but never used
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:32:2
   |
30 |  fmt=ref('vhs','video_formats/h264-mp4.json',1,15,'H264/CRF/像素及音频模板')
31 |  meta=ref('vhs','videohelpersuite/nodes.py',48,165,'格式模板、元数据参数条件')
32 |  info=ref('vhs','videohelpersuite/nodes.py',940,970,'VideoInfoLoaded五出口与loaded_键')
   |  ^^^^
33 |  reg=ref('vhs','videohelpersuite/nodes.py',1020,1050,'VHS准确四类节点注册')
34 |  js=ref('vhs','web/js/VHS.core.js',41,168,'同包保存恢复；不证明未知宿主及UE次序')
   |
help: Remove assignment to unused variable `info`

E501 Line too long (102 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:56:94
   |
54 |  ref('core','comfy_api/latest/_ui.py',27,76,'音频文件描述符和output目录分派')
55 |  ref('mtb','web/comfy_shared.js',377,445,'模板动态连接setup与恢复回调')
56 |  audio=ref('core','comfy_extras/nodes_audio.py',120,141,'core0.6.0 SaveAudio具名schema及FLAC输出调用')
   |                                                                                                     ^^
57 |  audiohelper=ref('core','comfy_api/latest/_ui.py',260,390,'AudioSaveHelper计数名/目录、编码和输出描述符；不读取音频')
58 |  for key in ['kj','layer','math','easy','mtb','core','vhs']:
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:73:3
   |
71 |   ('select_every_nth','间隔取帧','INT','1','采样帧间隔','1～9007199254740991','均保存1，采样后不再间隔抽取；仍不证明读取成功或音频同…
72 |   ('format','加载格式约束','COMBO','AnimateDiff','格式选择','AnimateDiff内置，外部格式动态扩展未知','保存AnimateDiff是加载约束，不是…
73 |  ]: spec('VHS_LoadVideo',name,label,typ,default,unit,limits,effect,[load,run,reg])
   |   ^
74 |  for name,label,default,limits,effect in [
75 |   ('directory','图片文件夹引用','schema无显式默认','字符串，目标目录权限/存在性未知','保存E盘目录仅文本，不访问目录。活动8.IMAGE→10.im…
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:79:3
   |
77 |   ('skip_first_images','文件夹跳过图片数','0','0～9007199254740991','保存0被6保存1126经边19覆盖；不是视频原始帧索引或精确时间。'),
78 |   ('select_every_nth','文件夹间隔取图','1','1～9007199254740991','保存1；具体排序/图片尺寸和可用素材未核验，不访问E盘。'),
79 |  ]: spec('VHS_LoadImagesPath',name,label,'STRING' if name=='directory' else 'INT',default,'目录文本' if name=='directory' else '图片/…
   |   ^
80 |  for name,label,typ,default,unit,limits,effect in [
81 |   ('frame_rate','合成播放帧率','floatOrInt','8','帧/秒','min1，step1，无显式max','10保存30被18保存16经边23覆盖。18源JSON为int，声明输…
   |

E501 Line too long (184 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:79:97
   |
77 | …保存1126经边19覆盖；不是视频原始帧索引或精确时间。'),
78 | … 排序/图片尺寸和可用素材未核验，不访问E盘。'),
79 | …'INT',default,'目录文本' if name=='directory' else '图片/间隔',limits,effect,[image,image_schema,utils,reg])
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80 | …
81 | …ax','10保存30被18保存16经边23覆盖。18源JSON为int，声明输出FLOAT分开；16不是原片FPS/源时长/同步保证。'),
   |

E501 Line too long (180 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:84:74
   |
82 | … 支不额外循环，不混同GIF循环。'),
83 | …无显式长度限制，目录权限未知','保存video/ComfyUI被5模板外线覆盖；模板保存tmp/video/video_{var_1}-{var_2}，6/13接var_1/var_2。不执行…
84 | …,'动态ffmpeg格式，准确包含video/h264-mp4','保存H264 MP4，模板libx264；目标编码器未核验，不执行ffmpeg。'),
   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 | …yuv420p10le','保存yuv420p，不保证实际尺寸、兼容性或编码成功。'),
86 | … 承诺固定码率/大小或效果。'),
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:91:3
   |
89 |   ('pingpong','往返追加','BOOLEAN','false','开关','true/false','保存false不追加逆序中间帧。'),
90 |   ('save_output','选择输出目录','BOOLEAN','true','开关','true选output，false选temp','保存true选择output，前缀被外线覆盖。可能涉及视频…
91 |  ]: spec('VHS_VideoCombine',name,label,typ,default,unit,limits,effect,[combine,video,fmt,meta,reg])
   |   ^
92 |  for cls in ['VHS_LoadImagesPath','VHS_LoadVideo','VHS_VideoCombine']:
93 |   spec(cls,'videopreview','完整历史预览对象','前端嵌套对象','无服务端默认','历史状态','完整对象，不递归增加位置','四对象分别原样保存。…
   |

E501 Line too long (294 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:95:86
   |
93 | … 不递归增加位置','四对象分别原样保存。Combine历史16与当前保存30/外线16分开；旧E盘/tmp/video文件、PNG或输入文件名不是当前产物证明。不请求api/view或媒体。',[hist,js],'frontend_history')
94 | …
95 | …ffffffffff；FLOAT step0.00001','18保存16的JSON为int，schema为FLOAT；实现round(value,6)。21保存200→Set29；13保存44→8.cap及5.var_2；6保存1126→8.skip及5.var_1。仅说明物理连接，不计算运行结果。',[const])
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96 | …
97 | …28为mode4，两个值均true。准确实现无条件clear_memory；purge_cache参数未被函数体使用，purge_models条件卸载模型并soft_empty_cache。不要声称关闭purge_cache即可阻止清理；本轮不执行清理。',[purge])
   |

E501 Line too long (286 > 100)
  --> docs/hel-892/storyboard-document-evidence/build_definition.py:97:90
   |
95 | …ffffffffff；FLOAT step0.00001','18保存16的JSON为int，schema为FLOAT；实现round(value,6)。21保存200→Set29；13保存44→8.cap及5.var_2；6保存1126→8.skip及5.var_1。仅说明物理连接，不计算运行结果。',[cons…
96 | …
97 | …28为mode4，两个值均true。准确实现无条件clear_memory；purge_cache参数未被函数体使用，purge_models条件卸载模型并soft_empty_cache。不要声称关闭purge_cache即可阻止清理；本轮不执行清理。',[purge])
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98 | …
99 | … 文本','未知：不以类名绑定实现','保存每批截取帧数。Set29接21，Get30到22/24的b及25.cap；两者没有可证明的具名解析关系，不能可靠取200或推算循环。',[],'identity_unknown')
   |

E501 Line too long (296 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:100:85
    |
 98 | …
 99 | … 文本','未知：不以类名绑定实现','保存每批截取帧数。Set29接21，Get30到22/24的b及25.cap；两者没有可证明的具名解析关系，不能可靠取200或推算循环。',[],'identity_unknown')
100 | … 1被22外线覆盖；19.initial_value1由1.frame_count输入，非total或已计算index。准确包从索引0或hidden initial_value0开始图展开，但本图mode4且Get身份未知，不模拟循环次数/起点。',[loop],'linked_saved_value')
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101 | … 随输入而定','多行，dynamicPrompts=false；未声明字符串长度范围','22保存ceil(a / b)，a来自27.loaded_frame_count、b来自Get30；24保存a*b，a来自19.index、b来自Get30，接25.skip。仅固定算式和注册语义，不求值、不…
102 | …
    |

E501 Line too long (337 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:101:84
    |
 99 | … 文本','未知：不以类名绑定实现','保存每批截取帧数。Set29接21，Get30到22/24的b及25.cap；两者没有可证明的具名解析关系，不能可靠取200或推算循环。',[],'identity_unknown')
100 | … 1被22外线覆盖；19.initial_value1由1.frame_count输入，非total或已计算index。准确包从索引0或hidden initial_value0开始图展开，但本图mode4且Get身份未知，不模拟循环次数/起点。',[loop],'linked_saved_value')
101 | … 随输入而定','多行，dynamicPrompts=false；未声明字符串长度范围','22保存ceil(a / b)，a来自27.loaded_frame_count、b来自Get30；24保存a*b，a来自19.index、b来自Get30，接25.skip。仅固定算式和注册语义，不求值、不推次数/分段长度。',[math,mathschema])
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102 | …
103 | … 物存在。'),
    |

E501 Line too long (155 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:104:69
    |
102 | …
103 | …omfyUI，图像来自25；mode4，不保证产物存在。'),
104 | … 现只有绝对路径走指定目录，否则走ComfyUI output及前缀路径。不把空串补成默认，不访问目录。'),
    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105 | …tion未接。准确实现仅caption is not None才写标注；不能声称本图输出.txt。PNG仍按图像保存路径处理。'),
106 | …'schema无显式长度限制；目录与权限未知',effect,[save])
    |

E501 Line too long (161 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:105:85
    |
103 | …yUI，图像来自25；mode4，不保证产物存在。'),
104 | … 只有绝对路径走指定目录，否则走ComfyUI output及前缀路径。不把空串补成默认，不访问目录。'),
105 | …n未接。准确实现仅caption is not None才写标注；不能声称本图输出.txt。PNG仍按图像保存路径处理。'),
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
106 | …hema无显式长度限制；目录与权限未知',effect,[save])
107 | …RING','空字符串','模板文本','多行，无显式长度范围','保存tmp/video/video_{var_1}-{var_2}。准确包对kwargs按{键}逐字替换；源6/13连var_1…
    |

E701 Multiple statements on one line (colon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:106:3
    |
104 |   ('output_folder','图片输出目录','output','保存空字符串；准确实现只有绝对路径走指定目录，否则走ComfyUI output及前缀路径。不把空串补…
105 |   ('caption_file_extension','标注扩展名','.txt','保存.txt但caption未接。准确实现仅caption is not None才写标注；不能声称本图输出.txt。…
106 |  ]:spec('SaveImageKJ',name,label,'STRING',default,'文本/路径','schema无显式长度限制；目录与权限未知',effect,[save])
    |   ^
107 |  spec('Apply Text Template (mtb)','template','文件名前缀模板','STRING','空字符串','模板文本','多行，无显式长度范围','保存tmp/video/vi…
108 |  spec('SaveAudio','filename_prefix','旁路音频保存前缀','STRING','audio/ComfyUI','路径/前缀','schema无显式长度范围；动态目录权限未知',…
    |

E501 Line too long (281 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:107:83
    |
105 | …t None才写标注；不能声称本图输出.txt。PNG仍按图像保存路径处理。'),
106 | … 知',effect,[save])
107 | … 行，无显式长度范围','保存tmp/video/video_{var_1}-{var_2}。准确包对kwargs按{键}逐字替换；源6/13连var_1/var_2，输出到10前缀。不执行替换；原前端未声明，动态口恢复/UE次序未知。',[template])
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108 | …hema无显式长度范围；动态目录权限未知','仅保存tmp/audio一个值；audioUI是源输入口但没有第二个保存值，不补空串。1.AUDIO→36且mode4，准确core SaveAudio调用FLAC输出描述符；未试听/写入，不代表10最…
109 | …,'LayerUtility: PurgeVRAM':['purge_cache','purge_models'],'easy forLoopStart':['total'],'MathExpression|pysssss':['expression'],'SaveImageKJ':['filename_prefix','output_folder','caption_file_…
    |

E501 Line too long (320 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:108:89
    |
106 | … 知',effect,[save])
107 | … ，无显式长度范围','保存tmp/video/video_{var_1}-{var_2}。准确包对kwargs按{键}逐字替换；源6/13连var_1/var_2，输出到10前缀。不执行替换；原前端未声明，动态口恢复/UE次序未知。',[template])
108 | …ema无显式长度范围；动态目录权限未知','仅保存tmp/audio一个值；audioUI是源输入口但没有第二个保存值，不补空串。1.AUDIO→36且mode4，准确core SaveAudio调用FLAC输出描述符；未试听/写入，不代表10最终视频有音轨。',[audio,audiohelper])
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109 | …'LayerUtility: PurgeVRAM':['purge_cache','purge_models'],'easy forLoopStart':['total'],'MathExpression|pysssss':['expression'],'SaveImageKJ':['filename_prefix','output_folder','caption_file_extension'],'Apply Text Template (mtb)'…
110 | …
    |

E501 Line too long (371 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:109:101
    |
107 | … 行，无显式长度范围','保存tmp/video/video_{var_1}-{var_2}。准确包对kwargs按{键}逐字替换；源6/13连var_1/var_2，输出到10前缀。不执行替换；原前端未声明，动态口恢复/UE次序未知。',[template])
108 | …hema无显式长度范围；动态目录权限未知','仅保存tmp/audio一个值；audioUI是源输入口但没有第二个保存值，不补空串。1.AUDIO→36且mode4，准确core SaveAudio调用FLAC输出描述符；未试听/写入，不代表10最终视频有音轨。',[audio,audiohelper])
109 | …,'LayerUtility: PurgeVRAM':['purge_cache','purge_…'template'],'SaveAudio':['filename_prefix']}
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110 | …
111 | …(1,'force_rate'),(25,'force_rate'),(25,'frame_load_cap'),(25,'skip_first_frames'),(19,'total')}
    |

E702 Multiple statements on one line (semicolon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:110:11
    |
108 |  spec('SaveAudio','filename_prefix','旁路音频保存前缀','STRING','audio/ComfyUI','路径/前缀','schema无显式长度范围；动态目录权限未知',…
109 |  names={'FloatConstant':['value'],'INTConstant':['value'],'SetNode':['name'],'GetNode':['name'],'LayerUtility: PurgeVRAM':['purge_cac…
110 |  fields=[];comments=[];zeros=[]
    |           ^
111 |  linked={(8,'image_load_cap'),(8,'skip_first_images'),(10,'frame_rate'),(10,'filename_prefix'),(1,'force_rate'),(25,'force_rate'),(25…
112 |  for i,n in enumerate(graph['nodes']):
    |

E702 Multiple statements on one line (semicolon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:110:23
    |
108 |  spec('SaveAudio','filename_prefix','旁路音频保存前缀','STRING','audio/ComfyUI','路径/前缀','schema无显式长度范围；动态目录权限未知',…
109 |  names={'FloatConstant':['value'],'INTConstant':['value'],'SetNode':['name'],'GetNode':['name'],'LayerUtility: PurgeVRAM':['purge_cac…
110 |  fields=[];comments=[];zeros=[]
    |                       ^
111 |  linked={(8,'image_load_cap'),(8,'skip_first_images'),(10,'frame_rate'),(10,'filename_prefix'),(1,'force_rate'),(25,'force_rate'),(25…
112 |  for i,n in enumerate(graph['nodes']):
    |

E702 Multiple statements on one line (semicolon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:113:35
    |
111 |  linked={(8,'image_load_cap'),(8,'skip_first_images'),(10,'frame_rate'),(10,'filename_prefix'),(1,'force_rate'),(25,'force_rate'),(25…
112 |  for i,n in enumerate(graph['nodes']):
113 |   ptr=f'/nodes/{i}/widgets_values'; vals=n.get('widgets_values')
    |                                   ^
114 |   if n['type']=='Note':
115 |    comments.append(dict(node_id=str(n['id']),pointer=ptr,scope='root',text=vals[0],meaning='完整源注释，仅作者说明，不是执行证明。'))…
    |

E702 Multiple statements on one line (semicolon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:115:115
    |
113 | …
114 | …
115 | …',text=vals[0],meaning='完整源注释，仅作者说明，不是执行证明。'));continue
    |                                                                   ^
116 | …
117 | …t='原缺widgets_values键；提供方/版本未知，不模拟动态组开关。' if 'widgets_values' not in n else '原{}零位置；不同于缺键/[]。' if isi…
    |

E501 Line too long (259 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:117:94
    |
115 | … 源注释，仅作者说明，不是执行证明。'));continue
116 | …
117 | … 方/版本未知，不模拟动态组开关。' if 'widgets_values' not in n else '原{}零位置；不同于缺键/[]。' if isinstance(vals,dict) else '原[]零位置；不补参数。'));continue
    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
118 | …
119 | …
    |

E702 Multiple statements on one line (semicolon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:117:209
    |
115 | …
116 | …
117 | … /[]。' if isinstance(vals,dict) else '原[]零位置；不补参数。'));continue
    |                                                                  ^
118 | …
119 | …
    |

E702 Multiple statements on one line (semicolon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:119:60
    |
117 |    zeros.append(dict(node_id=str(n['id']),class_type=n['type'],effect='原缺widgets_values键；提供方/版本未知，不模拟动态组开关。' if …
118 |   for k,v in vals.items() if isinstance(vals,dict) else enumerate(vals):
119 |    name=k if isinstance(vals,dict) else names[n['type']][k]; s=specs[n['type'],name].copy()
    |                                                            ^
120 |    if (n['id'],name) in linked:s['role']='linked_saved_value'
121 |    fields.append({**s,'node_id':str(n['id']),'scope':'root','class_type':n['type'],'pointer':ptr+'/'+str(k),'value':v,'json_type':typ…
    |

E701 Multiple statements on one line (colon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:120:31
    |
118 |   for k,v in vals.items() if isinstance(vals,dict) else enumerate(vals):
119 |    name=k if isinstance(vals,dict) else names[n['type']][k]; s=specs[n['type'],name].copy()
120 |    if (n['id'],name) in linked:s['role']='linked_saved_value'
    |                               ^
121 |    fields.append({**s,'node_id':str(n['id']),'scope':'root','class_type':n['type'],'pointer':ptr+'/'+str(k),'value':v,'json_type':typ…
122 |  assert len(fields)==50 and len(comments)==2 and sum(isinstance(f['value'],dict) for f in fields)==4
    |

E501 Line too long (307 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:121:101
    |
119 | …
120 | …
121 | …r+'/'+str(k),'value':v,'json_type':type(v).__name__,'execution_note':f'原mode={n["mode"]}；'+('旁路，不模拟执行。' if n['mode']==4 else '活动保存态，不等于实际已执行。')+'源声明不是目标安装证明；未构造prompt。'})
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122 | …s)==4
123 | …合成，6/13常量覆盖跳过数和数量上限，18覆盖播放帧率，5模板覆盖前缀。视频抽帧/循环组mode4旁路，不能称当前直接截取视频；音频未接合成。Set/Get身份、原前端/UE恢复、目录素材和实际效果未知；仅参考说明，转换关闭、未实跑。'
    |

E501 Line too long (299 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:126:78
    |
124 | …
125 | …e_load_cap。两个常量另经11/25接5.var_1/var_2；模板tmp/video/video_{var_1}-{var_2}经21覆盖10保存前缀video/ComfyUI。不访问E盘，不把目录图像称为当前直接视频截取。',
126 | …E/meta_batch线；16不是同步或源时长保证。H264/yuv420p/crf19/save_output=true、save_metadata=false/trimfalse/pingpongfalse按准确VHS1.7.7解释；元数据false不等于没有独立首帧PNG。历史预览16不当当前运行结果。',
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 | …ceil(a / b)→19.total，27.FPS→25.force_rate；19.index→24.a*b→25.skip；Get30到两式b与25.cap。25.IMAGE→26.SaveImageKJ，frame_count→20，19.flow→20→28.PurgeVRAM。只保留物理线，不模拟旁路、循环或求值。',
128 | …00。不开展已收敛旧别名历史调查；不推循环次数、起点或分段长度。',
    |

E501 Line too long (292 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:127:90
    |
125 | …e_load_cap。两个常量另经11/25接5.var_1/var_2；模板tmp/video/video_{var_1}-{var_2}经21覆盖10保存前缀video/ComfyUI。不访问E盘，不把目录图像称为当前直接视频截取。',
126 | …E/meta_batch线；16不是同步或源时长保证。H264/yuv420p/crf19/save_output=true、save_metadata=false/trimfalse/pingpongfalse按准确VHS1.7.7解释；元数据false不等于没有独立首帧PNG。历史预览16不当当前运行结果。…
127 | …ceil(a / b)→19.total，27.FPS→25.force_rate；19.index→24.a*b→25.skip；Get30到两式b与25.cap。25.IMAGE→26.SaveImageKJ，frame_count→20，19.flow→20→28.PurgeVRAM。只保留物理线，不模拟旁路、循环或求值。',
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128 | …00。不开展已收敛旧别名历史调查；不推循环次数、起点或分段长度。',
129 | …4；10.audio未接，最终视频不保证声音。SaveAudio只有tmp/audio一个保存值，audioUI源口没有第二保存值，不补空串，不称已试听或写入。',
    |

E701 Multiple statements on one line (colon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:134:25
    |
132 |  '根22节点24边，无子图，无frontendVersion；workflowRendererVersion=LG不是版本。UE7.5.1/7.5.2及缺version分别保留，空连接声明不证明无…
133 |  '两Note31（mode4）循环次数向上取整、35（mode0）在截取的帧图像中，按照分镜头选取帧图像合成完整保留；注释不是执行证明。155完整定稿0/…
134 |  for e in graph['links']:flow.append('原边 root '+json.dumps(e,ensure_ascii=False))
    |                         ^
135 |  for n in graph['nodes']:flow.append('原节点 root '+json.dumps({k:n[k] for k in ['id','type','mode','inputs','outputs','properties'] …
136 |  return dict(source_path=path,source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha25…
    |

E701 Multiple statements on one line (colon)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:135:25
    |
133 |  '两Note31（mode4）循环次数向上取整、35（mode0）在截取的帧图像中，按照分镜头选取帧图像合成完整保留；注释不是执行证明。155完整定稿0/…
134 |  for e in graph['links']:flow.append('原边 root '+json.dumps(e,ensure_ascii=False))
135 |  for n in graph['nodes']:flow.append('原节点 root '+json.dumps({k:n[k] for k in ['id','type','mode','inputs','outputs','properties'] …
    |                         ^
136 |  return dict(source_path=path,source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha25…
    |

E501 Line too long (164 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:135:98
    |
133 | … 照分镜头选取帧图像合成完整保留；注释不是执行证明。155完整定稿0/必要实跑0/新增转换0，保持全停用未检查。']
134 | …ure_ascii=False))
135 | …n[k] for k in ['id','type','mode','inputs','outputs','properties'] if k in n},ensure_ascii=False))
    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136 | …est(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),notice='准确版本…
    |

E501 Line too long (1290 > 100)
   --> docs/hel-892/storyboard-document-evidence/build_definition.py:136:101
    |
134 | …
135 | …ode','inputs','outputs','properties'] if k in n},ensure_ascii=False))
136 | …ha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),notice='准确版本仅参考；活动文件夹合成、视频循环旁路，身份/宿主恢复/效果未知，转换关闭、未实跑。',user_overview=overview,versions=['KJ79f529a84a8c20fe5dcdfa984c6be7a94102c014；LayerStyle3b17c7f488006c872f4cb3d6b37029a9464f1d7b；CustomScripts f2838ed5e59de4d73cde5c98354b87a8d3200190。','VHS1.7.7/EasyUse1.3.4/MTB0.5.4准确发布包SHA及成员另列，Git绑定未知，不套近版本。','core0.6.0准确tag→e4c61d75555036fa28b6bb34e5fd67b007c9f391；无宿主前端声明。Set/Get/Bypasser身份未知，UE版本仅源文本。'],counts=dict(saved_fields=50,source_nodes=22,physical_edges=24,source_notes=2,history_objects=4,linked_saved_fields=9,frontend_only=4,final_scalars=0,final_prompt_constructed=False),fields=fields,sources=refs,comments=comments,flow=flow,flow_evidence=list(range(len(refs))),zero_saved_nodes=zeros,steps=[overview,'操作1：先核活动文件夹与旁路视频分支，保持停用，不切组、不运行循环。','操作2：核跳过/上限/帧率/前缀外线，保存值不是最终值或真实产物。','操作3：分开读取4历史对象与2完整注释，不访问目录/视频/音频或旧预览。','常见问题：合成音频未接；Set/Get不能可靠取200；.txt扩展名不保证标注写入；原前端/UE/编码器/效果待核。'])
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I001 [*] Import block is un-sorted or un-formatted
 --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:2:1
  |
1 |   """Bounded release members and exact core tag, no plugin execution."""
2 | / import hashlib
3 | | import io
4 | | import json
5 | | import urllib.request
6 | | import zipfile
7 | | from fetch_sources import OUT, REF, fetch
  | |_________________________________________^
8 |
9 |   def main():
  |
help: Organize imports
   |
6  | import zipfile
7  +
8  | from fetch_sources import OUT, REF, fetch
9  |
10 +
11 | def main():
   |

F401 [*] `urllib.request` imported but unused
 --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:5:8
  |
3 | import io
4 | import json
5 | import urllib.request
  |        ^^^^^^^^^^^^^^
6 | import zipfile
7 | from fetch_sources import OUT, REF, fetch
  |
help: Remove unused import: `urllib.request`
  |
4 | import json
  - import urllib.request
5 | import zipfile
  |

F401 [*] `fetch_sources.OUT` imported but unused
 --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:7:27
  |
5 | import urllib.request
6 | import zipfile
7 | from fetch_sources import OUT, REF, fetch
  |                           ^^^
8 |
9 | def main():
  |
help: Remove unused import: `fetch_sources.OUT`
  |
6 | import zipfile
  - from fetch_sources import OUT, REF, fetch
7 + from fetch_sources import REF, fetch
8 |
  |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:10:49
   |
 9 | def main():
10 |  d=json.loads((REF/'sources.json').read_bytes()); entries=d['sources']
   |                                                 ^
11 |  for id,key,words in [('comfyui-easy-use','easy',['logic.py','__init__.py','LICENSE','pyproject.toml']),('comfy-mtb','mtb',['text.py',…
12 |   url=(json.loads((REF/(id+'-version.json')).read_bytes())['downloadUrl'] if key!='vhs' else 'https://cdn.comfy.org/kosinkadink/comfyu…
   |

E501 Line too long (238 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:11:101
   |
 9 | …
10 | …
11 | ….toml']),('comfy-mtb','mtb',['text.py','__init__.py','LICENSE','pyproject.toml']),('comfyui-videohelpersuite','vhs',['load_images_nodes.py'])]:
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | …ttps://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip')
13 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:13:17
   |
11 |  for id,key,words in [('comfyui-easy-use','easy',['logic.py','__init__.py','LICENSE','pyproject.toml']),('comfy-mtb','mtb',['text.py',…
12 |   url=(json.loads((REF/(id+'-version.json')).read_bytes())['downloadUrl'] if key!='vhs' else 'https://cdn.comfy.org/kosinkadink/comfyu…
13 |   raw=fetch(url); digest=hashlib.sha256(raw).hexdigest()
   |                 ^
14 |   if key=='vhs': assert digest=='f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1'
15 |   with zipfile.ZipFile(io.BytesIO(raw)) as z:
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:14:16
   |
12 |   url=(json.loads((REF/(id+'-version.json')).read_bytes())['downloadUrl'] if key!='vhs' else 'https://cdn.comfy.org/kosinkadink/comfyu…
13 |   raw=fetch(url); digest=hashlib.sha256(raw).hexdigest()
14 |   if key=='vhs': assert digest=='f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1'
   |                ^
15 |   with zipfile.ZipFile(io.BytesIO(raw)) as z:
16 |    selected=[n for n in z.namelist() if any(n==w or n.endswith('/'+w) for w in words)]
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:21:19
   |
19 |    (REF/(key+'-package-index.json')).write_text(json.dumps(dict(url=url,sha256=digest,members=z.namelist(),selected=selected),ensure_a…
20 |    for n in selected:
21 |     data=z.read(n); name=key+'__'+n.replace('/','__'); (REF/name).write_bytes(data)
   |                   ^
22 |     entries.append(dict(id=key,file=n,local_file=name,url=url,commit='发布包SHA256:'+digest,sha256=hashlib.sha256(data).hexdigest(),gi…
23 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; repo='Comfy-Org/ComfyUI'
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:21:54
   |
19 |    (REF/(key+'-package-index.json')).write_text(json.dumps(dict(url=url,sha256=digest,members=z.namelist(),selected=selected),ensure_a…
20 |    for n in selected:
21 |     data=z.read(n); name=key+'__'+n.replace('/','__'); (REF/name).write_bytes(data)
   |                                                      ^
22 |     entries.append(dict(id=key,file=n,local_file=name,url=url,commit='发布包SHA256:'+digest,sha256=hashlib.sha256(data).hexdigest(),gi…
23 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; repo='Comfy-Org/ComfyUI'
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:23:72
   |
21 |     data=z.read(n); name=key+'__'+n.replace('/','__'); (REF/name).write_bytes(data)
22 |     entries.append(dict(id=key,file=n,local_file=name,url=url,commit='发布包SHA256:'+digest,sha256=hashlib.sha256(data).hexdigest(),gi…
23 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; repo='Comfy-Org/ComfyUI'
   |                                                                        ^
24 |  raw=fetch(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1'); (REF/'core-tree.json').write_bytes(raw)
25 |  blobs={x['path']:x['sha'] for x in json.loads(raw)['tree'] if x['type']=='blob'}
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:24:82
   |
22 |     entries.append(dict(id=key,file=n,local_file=name,url=url,commit='发布包SHA256:'+digest,sha256=hashlib.sha256(data).hexdigest(),gi…
23 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; repo='Comfy-Org/ComfyUI'
24 |  raw=fetch(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1'); (REF/'core-tree.json').write_bytes(raw)
   |                                                                                  ^
25 |  blobs={x['path']:x['sha'] for x in json.loads(raw)['tree'] if x['type']=='blob'}
26 |  for file in ['comfy_extras/nodes_audio.py','nodes.py','folder_paths.py','LICENSE']:
   |

E501 Line too long (122 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:24:101
   |
22 |     entries.append(dict(id=key,file=n,local_file=name,url=url,commit='发布包SHA256:'+digest,sha256=hashlib.sha256(data).hexdigest(),gi…
23 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; repo='Comfy-Org/ComfyUI'
24 |  raw=fetch(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1'); (REF/'core-tree.json').write_bytes(raw)
   |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^
25 |  blobs={x['path']:x['sha'] for x in json.loads(raw)['tree'] if x['type']=='blob'}
26 |  for file in ['comfy_extras/nodes_audio.py','nodes.py','folder_paths.py','LICENSE']:
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:27:66
   |
25 |  blobs={x['path']:x['sha'] for x in json.loads(raw)['tree'] if x['type']=='blob'}
26 |  for file in ['comfy_extras/nodes_audio.py','nodes.py','folder_paths.py','LICENSE']:
27 |   url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); name='core__'+file.replace('/','__'); (REF/name).wr…
   |                                                                  ^
28 |   blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest(); assert blob==blobs[file]
29 |   entries.append(dict(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=b…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:27:82
   |
25 |  blobs={x['path']:x['sha'] for x in json.loads(raw)['tree'] if x['type']=='blob'}
26 |  for file in ['comfy_extras/nodes_audio.py','nodes.py','folder_paths.py','LICENSE']:
27 |   url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); name='core__'+file.replace('/','__'); (REF/name).wr…
   |                                                                                  ^
28 |   blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest(); assert blob==blobs[file]
29 |   entries.append(dict(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=b…
   |

E501 Line too long (148 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:27:101
   |
25 | …] if x['type']=='blob'}
26 | …lder_paths.py','LICENSE']:
27 | …{file}'; raw=fetch(url); name='core__'+file.replace('/','__'); (REF/name).write_bytes(raw)
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28 | …raw).hexdigest(); assert blob==blobs[file]
29 | …url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:27:120
   |
25 |  blobs={x['path']:x['sha'] for x in json.loads(raw)['tree'] if x['type']=='blob'}
26 |  for file in ['comfy_extras/nodes_audio.py','nodes.py','folder_paths.py','LICENSE']:
27 |   url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); name='core__'+file.replace('/','__'); (REF/name).wr…
   |                                                                                                                        ^
28 |   blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest(); assert blob==blobs[file]
29 |   entries.append(dict(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=b…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:28:75
   |
26 |  for file in ['comfy_extras/nodes_audio.py','nodes.py','folder_paths.py','LICENSE']:
27 |   url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); name='core__'+file.replace('/','__'); (REF/name).wr…
28 |   blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest(); assert blob==blobs[file]
   |                                                                           ^
29 |   entries.append(dict(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=b…
30 |  # necessary LayerStyle helper; never import.
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:31:48
   |
29 |   entries.append(dict(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=b…
30 |  # necessary LayerStyle helper; never import.
31 |  e=next(e for e in entries if e['id']=='layer'); file='py/imagefunc.py'; url=e['url'].rsplit('/',1)[0]+'/py/imagefunc.py' if e['file']…
   |                                                ^
32 |  url='https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 |  raw=fetch(url); name='layer__py__imagefunc.py'; (REF/name).write_bytes(raw)
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:31:72
   |
29 |   entries.append(dict(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=b…
30 |  # necessary LayerStyle helper; never import.
31 |  e=next(e for e in entries if e['id']=='layer'); file='py/imagefunc.py'; url=e['url'].rsplit('/',1)[0]+'/py/imagefunc.py' if e['file']…
   |                                                                        ^
32 |  url='https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 |  raw=fetch(url); name='layer__py__imagefunc.py'; (REF/name).write_bytes(raw)
   |

E501 Line too long (157 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:31:101
   |
29 | …url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
30 | …
31 | …efunc.py'; url=e['url'].rsplit('/',1)[0]+'/py/imagefunc.py' if e['file']=='__init__.py' else ''
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 | …erStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 | …ite_bytes(raw)
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:33:16
   |
31 |  e=next(e for e in entries if e['id']=='layer'); file='py/imagefunc.py'; url=e['url'].rsplit('/',1)[0]+'/py/imagefunc.py' if e['file']…
32 |  url='https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 |  raw=fetch(url); name='layer__py__imagefunc.py'; (REF/name).write_bytes(raw)
   |                ^
34 |  tree=json.loads((REF/'layer-tree.json').read_bytes()); blob=next(x['sha'] for x in tree['tree'] if x['path']==file); assert hashlib.s…
35 |  entries.append(dict(id='layer',file=file,local_file=name,url=url,commit=e['commit'],sha256=hashlib.sha256(raw).hexdigest(),git_blob_s…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:33:48
   |
31 |  e=next(e for e in entries if e['id']=='layer'); file='py/imagefunc.py'; url=e['url'].rsplit('/',1)[0]+'/py/imagefunc.py' if e['file']…
32 |  url='https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 |  raw=fetch(url); name='layer__py__imagefunc.py'; (REF/name).write_bytes(raw)
   |                                                ^
34 |  tree=json.loads((REF/'layer-tree.json').read_bytes()); blob=next(x['sha'] for x in tree['tree'] if x['path']==file); assert hashlib.s…
35 |  entries.append(dict(id='layer',file=file,local_file=name,url=url,commit=e['commit'],sha256=hashlib.sha256(raw).hexdigest(),git_blob_s…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:34:55
   |
32 |  url='https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 |  raw=fetch(url); name='layer__py__imagefunc.py'; (REF/name).write_bytes(raw)
34 |  tree=json.loads((REF/'layer-tree.json').read_bytes()); blob=next(x['sha'] for x in tree['tree'] if x['path']==file); assert hashlib.s…
   |                                                       ^
35 |  entries.append(dict(id='layer',file=file,local_file=name,url=url,commit=e['commit'],sha256=hashlib.sha256(raw).hexdigest(),git_blob_s…
36 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
   |

E501 Line too long (198 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:34:101
   |
32 | …c872f4cb3d6b37029a9464f1d7b/'+file
33 | …
34 | … tree['tree'] if x['path']==file); assert hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()==blob
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35 | …],sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
36 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:34:117
   |
32 |  url='https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/'+file
33 |  raw=fetch(url); name='layer__py__imagefunc.py'; (REF/name).write_bytes(raw)
34 |  tree=json.loads((REF/'layer-tree.json').read_bytes()); blob=next(x['sha'] for x in tree['tree'] if x['path']==file); assert hashlib.s…
   |                                                                                                                     ^
35 |  entries.append(dict(id='layer',file=file,local_file=name,url=url,commit=e['commit'],sha256=hashlib.sha256(raw).hexdigest(),git_blob_s…
36 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_additional.py:38:24
   |
36 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
37 |  print('PASS',len(entries),'exact texts; package Git bindings unknown')
38 | if __name__=='__main__':main()
   |                        ^

I001 [*] Import block is un-sorted or un-formatted
 --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:2:1
  |
1 |   """Fetch a bounded template module and audio helper descriptor chain as text."""
2 | / import hashlib
3 | | import io
4 | | import json
5 | | import zipfile
6 | | from fetch_sources import REF, fetch
  | |____________________________________^
7 |
8 |   def main():
  |
help: Organize imports
   |
5  | import zipfile
6  +
7  | from fetch_sources import REF, fetch
8  |
9  +
10 | def main():
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:9:49
   |
 8 | def main():
 9 |  d=json.loads((REF/'sources.json').read_bytes()); es=[e for e in d['sources'] if not (e['id']=='mtb' and e['file'] in ['nodes/graph_ut…
   |                                                 ^
10 |  raw=fetch(meta['url']); assert hashlib.sha256(raw).hexdigest()==meta['sha256']
11 |  with zipfile.ZipFile(io.BytesIO(raw)) as z:
   |

E501 Line too long (382 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:9:101
   |
 8 | …
 9 | …'mtb' and e['file'] in ['nodes/graph_utils.py','no…((REF/'mtb-package-index.json').read_bytes())
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 | …
11 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:9:304
   |
 8 | …
 9 | …'file'] in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py'])]; d['sources']=es; meta=json.loads((REF/'mtb-package-index.json').r…
   |                                                                    ^
10 | …
11 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:9:321
   |
 8 | …
 9 | …y_api/latest/_ui.py','comfy_api/latest/_io.py'])]; d['sources']=es; meta=json.loads((REF/'mtb-package-index.json').read_bytes())
   |                                                                    ^
10 | …
11 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:10:24
   |
 8 | def main():
 9 |  d=json.loads((REF/'sources.json').read_bytes()); es=[e for e in d['sources'] if not (e['id']=='mtb' and e['file'] in ['nodes/graph_ut…
10 |  raw=fetch(meta['url']); assert hashlib.sha256(raw).hexdigest()==meta['sha256']
   |                        ^
11 |  with zipfile.ZipFile(io.BytesIO(raw)) as z:
12 |   for n in ['nodes/graph_utils.py','log.py','web/mtb_ui.js','web/mtb_widgets.js','web/comfy_shared.js','wiki/nodes/nodes-apply-text-te…
   |

E501 Line too long (146 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:12:101
   |
10 | …gest()==meta['sha256']
11 | …
12 | …s','web/mtb_widgets.js','web/comfy_shared.js','wiki/nodes/nodes-apply-text-template.md']:
   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 | …/name).write_bytes(data)
14 | …a['url'],commit='发布包SHA256:'+meta['sha256'],sha256=hashlib.sha256(data).hexdigest(),git_commit_binding='unknown'))
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:13:18
   |
11 |  with zipfile.ZipFile(io.BytesIO(raw)) as z:
12 |   for n in ['nodes/graph_utils.py','log.py','web/mtb_ui.js','web/mtb_widgets.js','web/comfy_shared.js','wiki/nodes/nodes-apply-text-te…
13 |    data=z.read(n); name='mtb__'+n.replace('/','__'); (REF/name).write_bytes(data)
   |                  ^
14 |    es.append(dict(id='mtb',file=n,local_file=name,url=meta['url'],commit='发布包SHA256:'+meta['sha256'],sha256=hashlib.sha256(data).he…
15 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; tree=json.loads((REF/'core-tree.json').read_bytes()); blobs={…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:13:52
   |
11 |  with zipfile.ZipFile(io.BytesIO(raw)) as z:
12 |   for n in ['nodes/graph_utils.py','log.py','web/mtb_ui.js','web/mtb_widgets.js','web/comfy_shared.js','wiki/nodes/nodes-apply-text-te…
13 |    data=z.read(n); name='mtb__'+n.replace('/','__'); (REF/name).write_bytes(data)
   |                                                    ^
14 |    es.append(dict(id='mtb',file=n,local_file=name,url=meta['url'],commit='发布包SHA256:'+meta['sha256'],sha256=hashlib.sha256(data).he…
15 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; tree=json.loads((REF/'core-tree.json').read_bytes()); blobs={…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:15:72
   |
13 |    data=z.read(n); name='mtb__'+n.replace('/','__'); (REF/name).write_bytes(data)
14 |    es.append(dict(id='mtb',file=n,local_file=name,url=meta['url'],commit='发布包SHA256:'+meta['sha256'],sha256=hashlib.sha256(data).he…
15 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; tree=json.loads((REF/'core-tree.json').read_bytes()); blobs={…
   |                                                                        ^
16 |  for file in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py']:
17 |   url=f'https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw))…
   |

E501 Line too long (196 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:15:101
   |
13 | …
14 | …A256:'+meta['sha256'],sha256=hashlib.sha256(data).hexdigest(),git_commit_binding='unknown'))
15 | ….loads((REF/'core-tree.json').read_bytes()); blobs={x['path']:x['sha'] for x in tree['tree'] if x['type']=='blob'}
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 | …
17 | …fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest();assert blob==blobs[file]
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:15:126
   |
13 |    data=z.read(n); name='mtb__'+n.replace('/','__'); (REF/name).write_bytes(data)
14 |    es.append(dict(id='mtb',file=n,local_file=name,url=meta['url'],commit='发布包SHA256:'+meta['sha256'],sha256=hashlib.sha256(data).he…
15 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; tree=json.loads((REF/'core-tree.json').read_bytes()); blobs={…
   |                                                                                                                              ^
16 |  for file in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py']:
17 |   url=f'https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw))…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:17:77
   |
15 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; tree=json.loads((REF/'core-tree.json').read_bytes()); blobs={…
16 |  for file in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py']:
17 |   url=f'https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw))…
   |                                                                             ^
18 |   name='core__'+file.replace('/','__');(REF/name).write_bytes(raw);es.append(dict(id='core',file=file,local_file=name,url=url,commit=c…
19 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:17:93
   |
15 |  commit=json.loads((REF/'core-tag.json').read_bytes())['object']['sha']; tree=json.loads((REF/'core-tree.json').read_bytes()); blobs={…
16 |  for file in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py']:
17 |   url=f'https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw))…
   |                                                                                             ^
18 |   name='core__'+file.replace('/','__');(REF/name).write_bytes(raw);es.append(dict(id='core',file=file,local_file=name,url=url,commit=c…
19 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
   |

E501 Line too long (191 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:17:101
   |
15 | …son.loads((REF/'core-tree.json').read_bytes()); blobs={x['path']:x['sha'] for x in tree['tree'] if x['type']=='blob'}
16 | …
17 | …aw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest();assert blob==blobs[file]
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 | …ct(id='core',file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
19 | …)
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:17:167
   |
15 | …tree.json').read_bytes()); blobs={x['path']:x['sha'] for x in tree['tree'] if x['type']=='blob'}
16 | …
17 | …ashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest();assert blob==blobs[file]
   |                                                                    ^
18 | …e,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
19 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:18:39
   |
16 |  for file in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py']:
17 |   url=f'https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw))…
18 |   name='core__'+file.replace('/','__');(REF/name).write_bytes(raw);es.append(dict(id='core',file=file,local_file=name,url=url,commit=c…
   |                                       ^
19 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
20 |  print('PASS',len(es),'texts')
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:18:67
   |
16 |  for file in ['comfy_api/latest/_ui.py','comfy_api/latest/_io.py']:
17 |   url=f'https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw))…
18 |   name='core__'+file.replace('/','__');(REF/name).write_bytes(raw);es.append(dict(id='core',file=file,local_file=name,url=url,commit=c…
   |                                                                   ^
19 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
20 |  print('PASS',len(es),'texts')
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_helpers.py:21:24
   |
19 |  (REF/'sources.json').write_text(json.dumps(d,ensure_ascii=False,indent=2)+'\n')
20 |  print('PASS',len(es),'texts')
21 | if __name__=='__main__':main()
   |                        ^

F401 [*] `concurrent.futures` imported but unused
 --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:2:8
  |
1 | """Fetch only exact textual sources, never import upstream implementations."""
2 | import concurrent.futures
  |        ^^^^^^^^^^^^^^^^^^
3 | import hashlib
4 | import json
  |
help: Remove unused import: `concurrent.futures`
  |
1 | """Fetch only exact textual sources, never import upstream implementations."""
  - import concurrent.futures
2 | import hashlib
  |

E501 Line too long (142 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:11:101
   |
 9 | …
10 | …
11 | …984c6be7a94102c014',['__init__.py','nodes/nodes.py','nodes/image_nodes.py','LICENSE']),
   |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | …06c872f4cb3d6b37029a9464f1d7b',['__init__.py','py/purge_vram.py','LICENSE']),
13 | …ed5e59de4d73cde5c98354b87a8d3200190',['__init__.py','py/math_expression.py','LICENSE']),
   |

E501 Line too long (132 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:12:101
   |
10 | …
11 | …dcdfa984c6be7a94102c014',['__init__.py','nodes/nodes.py','nodes/image_nodes.py','LICENSE']),
12 | …f488006c872f4cb3d6b37029a9464f1d7b',['__init__.py','py/purge_vram.py','LICENSE']),
   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 | …f2838ed5e59de4d73cde5c98354b87a8d3200190',['__init__.py','py/math_expression.py','LICENSE']),
14 | …
   |

E501 Line too long (143 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:13:101
   |
11 | …984c6be7a94102c014',['__init__.py','nodes/nodes.py','nodes/image_nodes.py','LICENSE']),
12 | …06c872f4cb3d6b37029a9464f1d7b',['__init__.py','py/purge_vram.py','LICENSE']),
13 | …ed5e59de4d73cde5c98354b87a8d3200190',['__init__.py','py/math_expression.py','LICENSE']),
   |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 | …
15 | …
   |

E501 Line too long (135 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:16:101
   |
14 | }
15 | def fetch(url):
16 |  with urllib.request.urlopen(urllib.request.Request(url,headers={'User-Agent':'HEL-892-text-review'}),timeout=35) as r: return r.read()
   |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17 | def main():
18 |  entries=[]
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:16:119
   |
14 | }
15 | def fetch(url):
16 |  with urllib.request.urlopen(urllib.request.Request(url,headers={'User-Agent':'HEL-892-text-review'}),timeout=35) as r: return r.read()
   |                                                                                                                       ^
17 | def main():
18 |  entries=[]
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:20:84
   |
18 |  entries=[]
19 |  for key,(repo,commit,files) in PINS.items():
20 |   tree=fetch(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1'); (REF/(key+'-tree.json')).write_bytes(tree)
   |                                                                                    ^
21 |   t=json.loads(tree); assert t['sha']==commit and not t['truncated']
22 |   blobs={x['path']:x['sha'] for x in t['tree'] if x['type']=='blob'}
   |

E501 Line too long (127 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:20:101
   |
18 |  entries=[]
19 |  for key,(repo,commit,files) in PINS.items():
20 |   tree=fetch(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1'); (REF/(key+'-tree.json')).write_bytes(tree)
   |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 |   t=json.loads(tree); assert t['sha']==commit and not t['truncated']
22 |   blobs={x['path']:x['sha'] for x in t['tree'] if x['type']=='blob'}
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:21:21
   |
19 |  for key,(repo,commit,files) in PINS.items():
20 |   tree=fetch(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1'); (REF/(key+'-tree.json')).write_bytes(tree)
21 |   t=json.loads(tree); assert t['sha']==commit and not t['truncated']
   |                     ^
22 |   blobs={x['path']:x['sha'] for x in t['tree'] if x['type']=='blob'}
23 |   for file in files:
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:24:24
   |
22 |   blobs={x['path']:x['sha'] for x in t['tree'] if x['type']=='blob'}
23 |   for file in files:
24 |    if file not in blobs: print('MISSING',key,file, [p for p in blobs if 'purge' in p.lower()]); continue
   |                        ^
25 |    url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+…
26 |    name=key+'__'+file.replace('/','__'); (REF/name).write_bytes(raw)
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:24:95
   |
22 |   blobs={x['path']:x['sha'] for x in t['tree'] if x['type']=='blob'}
23 |   for file in files:
24 |    if file not in blobs: print('MISSING',key,file, [p for p in blobs if 'purge' in p.lower()]); continue
   |                                                                                               ^
25 |    url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+…
26 |    name=key+'__'+file.replace('/','__'); (REF/name).write_bytes(raw)
   |

E501 Line too long (104 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:24:101
   |
22 |   blobs={x['path']:x['sha'] for x in t['tree'] if x['type']=='blob'}
23 |   for file in files:
24 |    if file not in blobs: print('MISSING',key,file, [p for p in blobs if 'purge' in p.lower()]); continue
   |                                                                                                     ^^^^
25 |    url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+…
26 |    name=key+'__'+file.replace('/','__'); (REF/name).write_bytes(raw)
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:25:67
   |
23 |   for file in files:
24 |    if file not in blobs: print('MISSING',key,file, [p for p in blobs if 'purge' in p.lower()]); continue
25 |    url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+…
   |                                                                   ^
26 |    name=key+'__'+file.replace('/','__'); (REF/name).write_bytes(raw)
27 |    entries.append(dict(id=key,file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blo…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:25:83
   |
23 |   for file in files:
24 |    if file not in blobs: print('MISSING',key,file, [p for p in blobs if 'purge' in p.lower()]); continue
25 |    url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+…
   |                                                                                   ^
26 |    name=key+'__'+file.replace('/','__'); (REF/name).write_bytes(raw)
27 |    entries.append(dict(id=key,file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blo…
   |

E501 Line too long (182 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:25:101
   |
23 | …
24 | …rge' in p.lower()]); continue
25 | …ch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest(); assert blob==blobs[file]
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 | …
27 | …it,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blob))
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:25:157
   |
23 | …
24 | …()]); continue
25 | …ashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest(); assert blob==blobs[file]
   |                                                                    ^
26 | …
27 | …ib.sha256(raw).hexdigest(),git_blob_sha1=blob))
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:26:40
   |
24 |    if file not in blobs: print('MISSING',key,file, [p for p in blobs if 'purge' in p.lower()]); continue
25 |    url=f'https://raw.githubusercontent.com/{repo}/{commit}/{file}'; raw=fetch(url); blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+…
26 |    name=key+'__'+file.replace('/','__'); (REF/name).write_bytes(raw)
   |                                        ^
27 |    entries.append(dict(id=key,file=file,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=blo…
28 |  # Reuse exact VHS1.7.7 members only, including package hash and unknown Git binding.
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:30:20
   |
28 |  # Reuse exact VHS1.7.7 members only, including package hash and unknown Git binding.
29 |  for e in json.loads((OUT.parent/'reverse-reference/sources.json').read_bytes())['sources']:
30 |   if e['id']=='vhs': entries.append({**e,'local_file':'../reverse-reference/'+e['local_file']})
   |                    ^
31 |  (REF/'sources.json').write_text(json.dumps({'sources':entries},ensure_ascii=False,indent=2)+'\n')
32 |  for id,version in [('comfyui-easy-use','1.3.4'),('comfy-mtb','0.5.4')]:
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:34:6
   |
32 |  for id,version in [('comfyui-easy-use','1.3.4'),('comfy-mtb','0.5.4')]:
33 |   url=f'https://api.comfy.org/nodes/{id}/versions/{version}'
34 |   try: raw=fetch(url); (REF/(id+'-version.json')).write_bytes(raw); print(id,raw.decode()[:1200])
   |      ^
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:34:22
   |
32 |  for id,version in [('comfyui-easy-use','1.3.4'),('comfy-mtb','0.5.4')]:
33 |   url=f'https://api.comfy.org/nodes/{id}/versions/{version}'
34 |   try: raw=fetch(url); (REF/(id+'-version.json')).write_bytes(raw); print(id,raw.decode()[:1200])
   |                      ^
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:34:67
   |
32 |  for id,version in [('comfyui-easy-use','1.3.4'),('comfy-mtb','0.5.4')]:
33 |   url=f'https://api.comfy.org/nodes/{id}/versions/{version}'
34 |   try: raw=fetch(url); (REF/(id+'-version.json')).write_bytes(raw); print(id,raw.decode()[:1200])
   |                                                                   ^
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:35:26
   |
33 |   url=f'https://api.comfy.org/nodes/{id}/versions/{version}'
34 |   try: raw=fetch(url); (REF/(id+'-version.json')).write_bytes(raw); print(id,raw.decode()[:1200])
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
   |                          ^
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
37 | if __name__=='__main__':main()
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:36:81
   |
34 |   try: raw=fetch(url); (REF/(id+'-version.json')).write_bytes(raw); print(id,raw.decode()[:1200])
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
   |                                                                                 ^
37 | if __name__=='__main__':main()
   |

E501 Line too long (148 > 100)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:36:101
   |
34 | …tes(raw); print(id,raw.decode()[:1200])
35 | …(exc))
36 | …/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core',raw.decode())
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:36:121
   |
34 |   try: raw=fetch(url); (REF/(id+'-version.json')).write_bytes(raw); print(id,raw.decode()[:1200])
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
   |                                                                                                                         ^
37 | if __name__=='__main__':main()
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/fetch_sources.py:37:24
   |
35 |   except Exception as exc: print(id,type(exc).__name__,str(exc))
36 |  raw=fetch('https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0'); (REF/'core-tag.json').write_bytes(raw); print('core'…
37 | if __name__=='__main__':main()
   |                        ^

E501 Line too long (101 > 100)
   --> docs/hel-892/storyboard-document-evidence/render_report.py:102:85
    |
100 |             ]
101 |             index.append(dict(document=b["source_path"], **e))
102 |     (OUT.parent / "手动分镜视频截取固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n")
    |                                                                                                     ^
103 |     (OUT / "fixed-source-index.json").write_text(
104 |         json.dumps(index, ensure_ascii=False, indent=2) + "\n"
    |

I001 [*] Import block is un-sorted or un-formatted
 --> docs/hel-892/storyboard-document-evidence/verify_sources.py:2:1
  |
1 |   """Verify exact Git blobs, package-member hashes and editorial source lines offline."""
2 | / import hashlib
3 | | import json
4 | | from build_definition import OUT,REF,build
  | |__________________________________________^
5 |
6 |   def main():
  |
help: Organize imports
  |
3 | import json
  - from build_definition import OUT,REF,build
4 |
5 + from build_definition import OUT, REF, build
6 +
7 +
8 | def main():
  |

E702 Multiple statements on one line (semicolon)
 --> docs/hel-892/storyboard-document-evidence/verify_sources.py:7:61
  |
6 | def main():
7 |  es=json.loads((REF/'sources.json').read_bytes())['sources'];counts={'git_texts':0,'package_texts':0}
  |                                                             ^
8 |  for e in es:
9 |   raw=(REF/e['local_file']).read_bytes();assert hashlib.sha256(raw).hexdigest()==e['sha256']
  |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:9:41
   |
 7 |  es=json.loads((REF/'sources.json').read_bytes())['sources'];counts={'git_texts':0,'package_texts':0}
 8 |  for e in es:
 9 |   raw=(REF/e['local_file']).read_bytes();assert hashlib.sha256(raw).hexdigest()==e['sha256']
   |                                         ^
10 |   if e.get('git_commit_binding')=='unknown':
11 |    assert e['commit'].startswith('发布包SHA256:') and len(e['commit'].split(':')[1])==64
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:14:62
   |
12 |    counts['package_texts']+=1
13 |   else:
14 |    tree=json.loads((REF/(e['id']+'-tree.json')).read_bytes());assert tree['sha']==e['commit'] and not tree['truncated']
   |                                                              ^
15 |    blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
16 |    assert blob==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file']);counts['git_texts']+=1
   |

E501 Line too long (119 > 100)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:14:101
   |
12 |    counts['package_texts']+=1
13 |   else:
14 |    tree=json.loads((REF/(e['id']+'-tree.json')).read_bytes());assert tree['sha']==e['commit'] and not tree['truncated']
   |                                                                                                     ^^^^^^^^^^^^^^^^^^^
15 |    blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
16 |    assert blob==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file']);counts['git_texts']+=1
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:16:97
   |
14 |    tree=json.loads((REF/(e['id']+'-tree.json')).read_bytes());assert tree['sha']==e['commit'] and not tree['truncated']
15 |    blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
16 |    assert blob==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file']);counts['git_texts']+=1
   |                                                                                                 ^
17 |  tag=json.loads((REF/'core-tag.json').read_bytes());assert tag['object']['type']=='commit' and tag['object']['sha']==next(e['commit'] …
18 |  b=build()
   |

E501 Line too long (119 > 100)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:16:101
   |
14 |    tree=json.loads((REF/(e['id']+'-tree.json')).read_bytes());assert tree['sha']==e['commit'] and not tree['truncated']
15 |    blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
16 |    assert blob==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file']);counts['git_texts']+=1
   |                                                                                                     ^^^^^^^^^^^^^^^^^^^
17 |  tag=json.loads((REF/'core-tag.json').read_bytes());assert tag['object']['type']=='commit' and tag['object']['sha']==next(e['commit'] …
18 |  b=build()
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:17:52
   |
15 |    blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest()
16 |    assert blob==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file']);counts['git_texts']+=1
17 |  tag=json.loads((REF/'core-tag.json').read_bytes());assert tag['object']['type']=='commit' and tag['object']['sha']==next(e['commit'] …
   |                                                    ^
18 |  b=build()
19 |  for e in b['sources']:
   |

E501 Line too long (165 > 100)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:17:101
   |
15 | …xdigest()
16 | …ree'] if x['path']==e['file']);counts['git_texts']+=1
17 | …ject']['type']=='commit' and tag['object']['sha']==next(e['commit'] for e in es if e['id']=='core')
   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 | …
19 | …
   |

E702 Multiple statements on one line (semicolon)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:20:41
   |
18 |  b=build()
19 |  for e in b['sources']:
20 |   raw=(OUT/e['local_file']).read_bytes();assert hashlib.sha256(raw).hexdigest()==e['sha256']
   |                                         ^
21 |   assert 1<=e['lines'][0]<=e['lines'][1]<=len(raw.decode().splitlines())
22 |  (OUT/'source-check.json').write_text(json.dumps(dict(**counts,citations=len(b['sources']),tag=tag['ref'],commit=tag['object']['sha'],…
   |

E701 Multiple statements on one line (colon)
  --> docs/hel-892/storyboard-document-evidence/verify_sources.py:24:24
   |
22 |  (OUT/'source-check.json').write_text(json.dumps(dict(**counts,citations=len(b['sources']),tag=tag['ref'],commit=tag['object']['sha'],…
23 |  print('PASS exact identities, bytes and lines',counts)
24 | if __name__=='__main__':main()
   |                        ^

Found 162 errors.
[*] 7 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
Traceback (most recent call last):
  File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/check_code.py", line 40, in <module>
    main()
  File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/check_code.py", line 18, in main
    subprocess.run(
  File "/home/xiaomo/.local/share/uv/python/cpython-3.11.16-linux-x86_64-gnu/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['uv', 'run', '--project', 'calliope-backend', '--offline', 'ruff', 'check', '--config', 'calliope-backend/pyproject.toml', 'calliope-backend/src/calliope/comfyui/fixed_document.py', 'calliope-backend/tests/test_storyboard_fixed_document.py', 'e2e/run-storyboard-document.py', 'docs/hel-892/storyboard-document-evidence/build_definition.py', 'docs/hel-892/storyboard-document-evidence/check_code.py', 'docs/hel-892/storyboard-document-evidence/fetch_additional.py', 'docs/hel-892/storyboard-document-evidence/fetch_helpers.py', 'docs/hel-892/storyboard-document-evidence/fetch_sources.py', 'docs/hel-892/storyboard-document-evidence/rebuild.py', 'docs/hel-892/storyboard-document-evidence/recompute.py', 'docs/hel-892/storyboard-document-evidence/render_report.py', 'docs/hel-892/storyboard-document-evidence/repeat.py', 'docs/hel-892/storyboard-document-evidence/request_counts.py', 'docs/hel-892/storyboard-document-evidence/verify_sources.py']' returned non-zero exit status 1.
