1405 lines
83 KiB
Plaintext
1405 lines
83 KiB
Plaintext
E501 Line too long (106 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:24:101
|
||
|
|
||
22 | def pointer(obj, path):
|
||
23 | for part in path.strip('/').split('/'):
|
||
24 | obj = obj[int(part)] if isinstance(obj, list) else obj[part.replace('~1', '/').replace('~0', '~')]
|
||
| ^^^^^^
|
||
25 | return obj
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:77:23
|
||
|
|
||
75 | def test_all_node_modes_and_identities_bound(i,variant):
|
||
76 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW)
|
||
77 | if variant=='mode':s['nodes'][i]['mode']=2
|
||
| ^
|
||
78 | else:s['nodes'][i]['properties']['ver']='forged'
|
||
79 | refuse(s,r)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:78:9
|
||
|
|
||
76 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW)
|
||
77 | if variant=='mode':s['nodes'][i]['mode']=2
|
||
78 | else:s['nodes'][i]['properties']['ver']='forged'
|
||
| ^
|
||
79 | refuse(s,r)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:88:25
|
||
|
|
||
86 | eid,src,slot,dst,inp,_=s['links'][i]
|
||
87 | ns={n['id']:n for n in s['nodes']}
|
||
88 | if variant=='record':s['links'][i][3]=999999
|
||
| ^
|
||
89 | elif variant=='input':ns[dst]['inputs'][inp]['link']=999999
|
||
90 | else:ns[src]['outputs'][slot]['links']=[999999]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:89:26
|
||
|
|
||
87 | ns={n['id']:n for n in s['nodes']}
|
||
88 | if variant=='record':s['links'][i][3]=999999
|
||
89 | elif variant=='input':ns[dst]['inputs'][inp]['link']=999999
|
||
| ^
|
||
90 | else:ns[src]['outputs'][slot]['links']=[999999]
|
||
91 | refuse(s,r)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:90:9
|
||
|
|
||
88 | if variant=='record':s['links'][i][3]=999999
|
||
89 | elif variant=='input':ns[dst]['inputs'][inp]['link']=999999
|
||
90 | else:ns[src]['outputs'][slot]['links']=[999999]
|
||
| ^
|
||
91 | refuse(s,r)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:97:39
|
||
|
|
||
95 | def test_special_saved_shapes_and_metadata_fail_closed(variant):
|
||
96 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW)
|
||
97 | ns={n['id']:n for n in s['nodes']}; b=r['fixed_version_document']
|
||
| ^
|
||
98 | if variant=='note':ns[140]['widgets_values'][0]='forged'
|
||
99 | elif variant=='history_url':ns[139]['widgets_values'][0][0]['url']='https://example.invalid/never'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:98:23
|
||
|
|
||
96 | s,r=copy.deepcopy(SOURCE),copy.deepcopy(REVIEW)
|
||
97 | ns={n['id']:n for n in s['nodes']}; b=r['fixed_version_document']
|
||
98 | if variant=='note':ns[140]['widgets_values'][0]='forged'
|
||
| ^
|
||
99 | elif variant=='history_url':ns[139]['widgets_values'][0][0]['url']='https://example.invalid/never'
|
||
100 | elif variant=='history_img':ns[139]['widgets_values_named']['rgthree_comparer']['images'][0]['img']={'changed':True}
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:99:32
|
||
|
|
||
97 | ns={n['id']:n for n in s['nodes']}; b=r['fixed_version_document']
|
||
98 | if variant=='note':ns[140]['widgets_values'][0]='forged'
|
||
99 | elif variant=='history_url':ns[139]['widgets_values'][0][0]['url']='https://example.invalid/never'
|
||
| ^
|
||
100 | elif variant=='history_img':ns[139]['widgets_values_named']['rgthree_comparer']['images'][0]['img']={'changed':True}
|
||
101 | elif variant=='upload_null':del ns[148]['widgets_values_named']['choose video to upload']
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:100:32
|
||
|
|
||
98 | if variant=='note':ns[140]['widgets_values'][0]='forged'
|
||
99 | elif variant=='history_url':ns[139]['widgets_values'][0][0]['url']='https://example.invalid/never'
|
||
100 | elif variant=='history_img':ns[139]['widgets_values_named']['rgthree_comparer']['images'][0]['img']={'changed':True}
|
||
| ^
|
||
101 | elif variant=='upload_null':del ns[148]['widgets_values_named']['choose video to upload']
|
||
102 | elif variant=='group_active':ns[149]['properties']['guhai_ig_active_set']=[]
|
||
|
|
||
|
||
E501 Line too long (120 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:100:101
|
||
|
|
||
98 | if variant=='note':ns[140]['widgets_values'][0]='forged'
|
||
99 | elif variant=='history_url':ns[139]['widgets_values'][0][0]['url']='https://example.invalid/never'
|
||
100 | elif variant=='history_img':ns[139]['widgets_values_named']['rgthree_comparer']['images'][0]['img']={'changed':True}
|
||
| ^^^^^^^^^^^^^^^^^^^^
|
||
101 | elif variant=='upload_null':del ns[148]['widgets_values_named']['choose video to upload']
|
||
102 | elif variant=='group_active':ns[149]['properties']['guhai_ig_active_set']=[]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:101:32
|
||
|
|
||
99 | elif variant=='history_url':ns[139]['widgets_values'][0][0]['url']='https://example.invalid/never'
|
||
100 | elif variant=='history_img':ns[139]['widgets_values_named']['rgthree_comparer']['images'][0]['img']={'changed':True}
|
||
101 | elif variant=='upload_null':del ns[148]['widgets_values_named']['choose video to upload']
|
||
| ^
|
||
102 | elif variant=='group_active':ns[149]['properties']['guhai_ig_active_set']=[]
|
||
103 | elif variant=='disable':ns[149]['properties']['guhai_ig_disable']=True
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:102:33
|
||
|
|
||
100 | elif variant=='history_img':ns[139]['widgets_values_named']['rgthree_comparer']['images'][0]['img']={'changed':True}
|
||
101 | elif variant=='upload_null':del ns[148]['widgets_values_named']['choose video to upload']
|
||
102 | elif variant=='group_active':ns[149]['properties']['guhai_ig_active_set']=[]
|
||
| ^
|
||
103 | elif variant=='disable':ns[149]['properties']['guhai_ig_disable']=True
|
||
104 | elif variant=='sdppp':ns[29]['properties']['#sdppp_simple_content']='changed'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:103:28
|
||
|
|
||
101 | elif variant=='upload_null':del ns[148]['widgets_values_named']['choose video to upload']
|
||
102 | elif variant=='group_active':ns[149]['properties']['guhai_ig_active_set']=[]
|
||
103 | elif variant=='disable':ns[149]['properties']['guhai_ig_disable']=True
|
||
| ^
|
||
104 | elif variant=='sdppp':ns[29]['properties']['#sdppp_simple_content']='changed'
|
||
105 | elif variant=='ue':s['extra'].pop('links_added_by_ue')
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:104:26
|
||
|
|
||
102 | elif variant=='group_active':ns[149]['properties']['guhai_ig_active_set']=[]
|
||
103 | elif variant=='disable':ns[149]['properties']['guhai_ig_disable']=True
|
||
104 | elif variant=='sdppp':ns[29]['properties']['#sdppp_simple_content']='changed'
|
||
| ^
|
||
105 | elif variant=='ue':s['extra'].pop('links_added_by_ue')
|
||
106 | elif variant=='graph_version':s['extra']['node_versions']['ComfyUI-VOSR2']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:105:23
|
||
|
|
||
103 | elif variant=='disable':ns[149]['properties']['guhai_ig_disable']=True
|
||
104 | elif variant=='sdppp':ns[29]['properties']['#sdppp_simple_content']='changed'
|
||
105 | elif variant=='ue':s['extra'].pop('links_added_by_ue')
|
||
| ^
|
||
106 | elif variant=='graph_version':s['extra']['node_versions']['ComfyUI-VOSR2']='forged'
|
||
107 | elif variant=='frontend':s['extra']['frontendVersion']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:106:34
|
||
|
|
||
104 | elif variant=='sdppp':ns[29]['properties']['#sdppp_simple_content']='changed'
|
||
105 | elif variant=='ue':s['extra'].pop('links_added_by_ue')
|
||
106 | elif variant=='graph_version':s['extra']['node_versions']['ComfyUI-VOSR2']='forged'
|
||
| ^
|
||
107 | elif variant=='frontend':s['extra']['frontendVersion']='forged'
|
||
108 | elif variant=='null':ns[28]['widgets_values']=[]
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:107:29
|
||
|
|
||
105 | elif variant=='ue':s['extra'].pop('links_added_by_ue')
|
||
106 | elif variant=='graph_version':s['extra']['node_versions']['ComfyUI-VOSR2']='forged'
|
||
107 | elif variant=='frontend':s['extra']['frontendVersion']='forged'
|
||
| ^
|
||
108 | elif variant=='null':ns[28]['widgets_values']=[]
|
||
109 | elif variant=='source_sha':r['source_sha']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:108:25
|
||
|
|
||
106 | elif variant=='graph_version':s['extra']['node_versions']['ComfyUI-VOSR2']='forged'
|
||
107 | elif variant=='frontend':s['extra']['frontendVersion']='forged'
|
||
108 | elif variant=='null':ns[28]['widgets_values']=[]
|
||
| ^
|
||
109 | elif variant=='source_sha':r['source_sha']='forged'
|
||
110 | elif variant=='path':b['source_path']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:109:31
|
||
|
|
||
107 | elif variant=='frontend':s['extra']['frontendVersion']='forged'
|
||
108 | elif variant=='null':ns[28]['widgets_values']=[]
|
||
109 | elif variant=='source_sha':r['source_sha']='forged'
|
||
| ^
|
||
110 | elif variant=='path':b['source_path']='forged'
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:110:25
|
||
|
|
||
108 | elif variant=='null':ns[28]['widgets_values']=[]
|
||
109 | elif variant=='source_sha':r['source_sha']='forged'
|
||
110 | elif variant=='path':b['source_path']='forged'
|
||
| ^
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:111:29
|
||
|
|
||
109 | elif variant=='source_sha':r['source_sha']='forged'
|
||
110 | elif variant=='path':b['source_path']='forged'
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
| ^
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:112:29
|
||
|
|
||
110 | elif variant=='path':b['source_path']='forged'
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
| ^
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:113:28
|
||
|
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:113:60
|
||
|
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E501 Line too long (114 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:113:101
|
||
|
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^^^^^^^^^^^^^^
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:113:108
|
||
|
|
||
111 | elif variant=='citation':b['sources'][0]['sha256']='forged'
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:114:26
|
||
|
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:114:57
|
||
|
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E501 Line too long (111 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:114:101
|
||
|
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^^^^^^^^^^^
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:114:105
|
||
|
|
||
112 | elif variant=='overview':b['user_overview']='forged'
|
||
113 | elif variant=='missing':r.pop('fixed_version_document');assert not doc(s,r)['fixed_version']['matched'];return
|
||
114 | elif variant=='empty':r['fixed_version_document']={};assert not doc(s,r)['fixed_version']['matched'];return
|
||
| ^
|
||
115 | refuse(s,r)
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:124:42
|
||
|
|
||
122 | for i,n in enumerate(SOURCE['nodes']):
|
||
123 | w=n.get('widgets_values')
|
||
124 | if w is None or n['type']=='Note':continue
|
||
| ^
|
||
125 | expected.extend(f'/nodes/{i}/widgets_values/{k}' for k in (range(len(w)) if isinstance(w,list) else w))
|
||
126 | assert expected==[f['pointer'] for f in BLOCK['fields']] and len(expected)==46
|
||
|
|
||
|
||
E501 Line too long (111 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:125:101
|
||
|
|
||
123 | w=n.get('widgets_values')
|
||
124 | if w is None or n['type']=='Note':continue
|
||
125 | expected.extend(f'/nodes/{i}/widgets_values/{k}' for k in (range(len(w)) if isinstance(w,list) else w))
|
||
| ^^^^^^^^^^^
|
||
126 | assert expected==[f['pointer'] for f in BLOCK['fields']] and len(expected)==46
|
||
127 | assert sum(f['json_type'] in ['dict','list'] for f in BLOCK['fields'])==3
|
||
|
|
||
|
||
E501 Line too long (105 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:134:101
|
||
|
|
||
132 | assert eid in ns[src]['outputs'][slot]['links']
|
||
133 | assert ns[dst]['inputs'][inp]['type']==typ
|
||
134 | assert [e for e in SOURCE['links'] if e[3]==139]==[[262,29,0,139,0,'IMAGE'],[263,28,0,139,1,'IMAGE']]
|
||
| ^^^^^
|
||
135 | assert ns[29]['outputs'][1]['links'] is None
|
||
136 | for n in BLOCK['comments']:
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:147:44
|
||
|
|
||
145 | assert 'tile_overlap >= tile_size' in text and 'vae_tile_overlap >= vae_tile_size' in text
|
||
146 | assert 'default=42' in text and 'control_after_generate=io.ControlAfterGenerate.fixed' in text
|
||
147 | core=(ref/'core__nodes.py').read_text();tree=ast.parse(core)
|
||
| ^
|
||
148 | save=next(x for x in tree.body if isinstance(x,ast.ClassDef) and x.name=='SaveImage')
|
||
149 | preview=next(x for x in tree.body if isinstance(x,ast.ClassDef) and x.name=='PreviewImage')
|
||
|
|
||
|
||
E501 Line too long (177 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:150:101
|
||
|
|
||
148 | …me=='SaveImage')
|
||
149 | ….name=='PreviewImage')
|
||
150 | …(x,ast.Assign) and any(isinstance(t,ast.Name) and t.id=='RETURN_TYPES' for t in x.targets)))==('IMAGE',)
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
151 | …
|
||
152 | …
|
||
|
|
||
|
||
E501 Line too long (123 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:154:101
|
||
|
|
||
152 | assert '"result" : (images,)' in ast.get_source_segment(core,save)
|
||
153 | loader=(ref/'vosr__loader.py').read_text()
|
||
154 | assert 'if model_name != KNOWN_MODEL:' in loader and 'if not (dit_missing or vae_missing or vision_missing):' in loader
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||
155 | assert 'revision=' not in loader
|
||
156 | comparer=(ref/'rgthree__py__image_comparer.py').read_text()
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:163:45
|
||
|
|
||
161 | path='calliope-backend/src/calliope/comfyui/source_reviews.json'
|
||
162 | old=json.loads(subprocess.check_output(['git','show','282c0e8:'+path],cwd=REPO))
|
||
163 | now=json.loads((REPO/path).read_bytes());now[PATH].pop('fixed_version_document')
|
||
| ^
|
||
164 | assert old==now and len(DEFINITIONS)==33
|
||
165 | blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
|
||
|
|
||
|
||
E501 Line too long (128 > 100)
|
||
--> calliope-backend/tests/test_vosr2_fixed_document.py:166:101
|
||
|
|
||
164 | assert old==now and len(DEFINITIONS)==33
|
||
165 | blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
|
||
166 | assert len(blocks)==32 and sum(len(b['fields']) for b in blocks)==988 and sum(len(b.get('comments',[])) for b in blocks)==24
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
||
E501 Line too long (126 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:11:72
|
||
|
|
||
9 | OUT = Path(__file__).resolve().parent
|
||
10 | REF = OUT.parent / 'vosr2-reference'
|
||
11 | PATHS = ['example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json']
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
||
E501 Line too long (120 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:26:101
|
||
|
|
||
24 | def ref(key, file, first, last, claim):
|
||
25 | e = next(e for e in entries if e['id'] == key and e['file'] == file)
|
||
26 | refs.append({**e, 'local_file': '../vosr2-reference/' + e['local_file'], 'lines': [first,last], 'claim': claim})
|
||
| ^^^^^^^^^^^^^^^^^^^^
|
||
27 | return len(refs)-1
|
||
|
|
||
|
||
E501 Line too long (110 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:30:84
|
||
|
|
||
29 | loader = ref('vosr','nodes_vosr.py',12,32,'VOSR2ModelLoader具名schema/model/dtype默认及类型')
|
||
30 | upscale = ref('vosr','nodes_vosr.py',35,73,'VOSR2Upscale精确schema、单位、范围、重叠验证与调用;不是实跑')
|
||
| ^^^^^^^^^^
|
||
31 | ref('vosr','nodes_vosr.py',76,86,'VOSR2两节点扩展注册')
|
||
32 | ref('vosr','__init__.py',1,len((REF/'vosr____init__.py').read_text().splitlines()),'包入口导出与注册')
|
||
|
|
||
|
||
E501 Line too long (122 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:33:82
|
||
|
|
||
31 | ref('vosr','nodes_vosr.py',76,86,'VOSR2两节点扩展注册')
|
||
32 | ref('vosr','__init__.py',1,len((REF/'vosr____init__.py').read_text().splitlines()),'包入口导出与注册')
|
||
33 | bundle = ref('vosr','loader.py',37,65,'models/vosr2完整配套模型目录/默认名;HF只有repo名,未固定revision不称权重固定')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||
34 | discovery = ref('vosr','loader.py',103,131,'模型名安全目录边界、args.json目录发现与VOSR2枚举补入')
|
||
35 | download = ref('vosr','loader.py',152,195,'仅已知VOSR2缺件会下载,齐全时返回;静态阅读未执行或下载')
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:34:82
|
||
|
|
||
32 | ref('vosr','__init__.py',1,len((REF/'vosr____init__.py').read_text().splitlines()),'包入口导出与注册')
|
||
33 | bundle = ref('vosr','loader.py',37,65,'models/vosr2完整配套模型目录/默认名;HF只有repo名,未固定revision不称权重固定')
|
||
34 | discovery = ref('vosr','loader.py',103,131,'模型名安全目录边界、args.json目录发现与VOSR2枚举补入')
|
||
| ^^
|
||
35 | download = ref('vosr','loader.py',152,195,'仅已知VOSR2缺件会下载,齐全时返回;静态阅读未执行或下载')
|
||
36 | dtype = ref('vosr','loader.py',266,273,'default委托设备unet_dtype;fp16/bf16映射不保证精度或可用性')
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:35:77
|
||
|
|
||
33 | bundle = ref('vosr','loader.py',37,65,'models/vosr2完整配套模型目录/默认名;HF只有repo名,未固定revision不称权重固定')
|
||
34 | discovery = ref('vosr','loader.py',103,131,'模型名安全目录边界、args.json目录发现与VOSR2枚举补入')
|
||
35 | download = ref('vosr','loader.py',152,195,'仅已知VOSR2缺件会下载,齐全时返回;静态阅读未执行或下载')
|
||
| ^^^^
|
||
36 | dtype = ref('vosr','loader.py',266,273,'default委托设备unet_dtype;fp16/bf16映射不保证精度或可用性')
|
||
37 | modelimpl = ref('vosr','loader.py',345,410,'load_vosr2先补文件再校验/构造配套模型;DiT与vision按compute_dtype、VAE float32')
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:36:86
|
||
|
|
||
34 | discovery = ref('vosr','loader.py',103,131,'模型名安全目录边界、args.json目录发现与VOSR2枚举补入')
|
||
35 | download = ref('vosr','loader.py',152,195,'仅已知VOSR2缺件会下载,齐全时返回;静态阅读未执行或下载')
|
||
36 | dtype = ref('vosr','loader.py',266,273,'default委托设备unet_dtype;fp16/bf16映射不保证精度或可用性')
|
||
| ^^^^
|
||
37 | modelimpl = ref('vosr','loader.py',345,410,'load_vosr2先补文件再校验/构造配套模型;DiT与vision按compute_dtype、VAE float32')
|
||
38 | resize = ref('vosr','inference.py',22,85,'bicubic目标尺寸/16对齐反射填充、无分块时补方形/裁剪、CPU种子局部生成;未运行')
|
||
|
|
||
|
||
E501 Line too long (128 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:37:85
|
||
|
|
||
35 | download = ref('vosr','loader.py',152,195,'仅已知VOSR2缺件会下载,齐全时返回;静态阅读未执行或下载')
|
||
36 | dtype = ref('vosr','loader.py',266,273,'default委托设备unet_dtype;fp16/bf16映射不保证精度或可用性')
|
||
37 | modelimpl = ref('vosr','loader.py',345,410,'load_vosr2先补文件再校验/构造配套模型;DiT与vision按compute_dtype、VAE float32')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
38 | resize = ref('vosr','inference.py',22,85,'bicubic目标尺寸/16对齐反射填充、无分块时补方形/裁剪、CPU种子局部生成;未运行')
|
||
39 | tile = ref('vosr','inference.py',88,148,'DiT潜空间对齐/重叠钳制、分块高斯融合、小图方形补齐及裁剪')
|
||
|
|
||
|
||
E501 Line too long (124 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:38:80
|
||
|
|
||
36 | dtype = ref('vosr','loader.py',266,273,'default委托设备unet_dtype;fp16/bf16映射不保证精度或可用性')
|
||
37 | modelimpl = ref('vosr','loader.py',345,410,'load_vosr2先补文件再校验/构造配套模型;DiT与vision按compute_dtype、VAE float32')
|
||
38 | resize = ref('vosr','inference.py',22,85,'bicubic目标尺寸/16对齐反射填充、无分块时补方形/裁剪、CPU种子局部生成;未运行')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||
39 | tile = ref('vosr','inference.py',88,148,'DiT潜空间对齐/重叠钳制、分块高斯融合、小图方形补齐及裁剪')
|
||
40 | run = ref('vosr','inference.py',151,218,'RGB及重叠检查;tile0大图警告、逐批seed+i/CPU颜色处理、最终返回;无显存/效果保证')
|
||
|
|
||
|
||
E501 Line too long (103 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:39:76
|
||
|
|
||
37 | modelimpl = ref('vosr','loader.py',345,410,'load_vosr2先补文件再校验/构造配套模型;DiT与vision按compute_dtype、VAE float32')
|
||
38 | resize = ref('vosr','inference.py',22,85,'bicubic目标尺寸/16对齐反射填充、无分块时补方形/裁剪、CPU种子局部生成;未运行')
|
||
39 | tile = ref('vosr','inference.py',88,148,'DiT潜空间对齐/重叠钳制、分块高斯融合、小图方形补齐及裁剪')
|
||
| ^^
|
||
40 | run = ref('vosr','inference.py',151,218,'RGB及重叠检查;tile0大图警告、逐批seed+i/CPU颜色处理、最终返回;无显存/效果保证')
|
||
41 | color = ref('vosr','color.py',25,76,'wavelet低频参考加高频恢复/adain均值方差/none钳制;小轴高斯半径限制')
|
||
|
|
||
|
||
E501 Line too long (126 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:40:83
|
||
|
|
||
38 | resize = ref('vosr','inference.py',22,85,'bicubic目标尺寸/16对齐反射填充、无分块时补方形/裁剪、CPU种子局部生成;未运行')
|
||
39 | tile = ref('vosr','inference.py',88,148,'DiT潜空间对齐/重叠钳制、分块高斯融合、小图方形补齐及裁剪')
|
||
40 | run = ref('vosr','inference.py',151,218,'RGB及重叠检查;tile0大图警告、逐批seed+i/CPU颜色处理、最终返回;无显存/效果保证')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
41 | color = ref('vosr','color.py',25,76,'wavelet低频参考加高频恢复/adain均值方差/none钳制;小轴高斯半径限制')
|
||
42 | vae = ref('vosr','tiled_vae.py',1,len((REF/'vosr__tiled_vae.py').read_text().splitlines()),'独立VAE像素分块、编码解码与高斯融合边…
|
||
|
|
||
|
||
E501 Line too long (109 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:41:81
|
||
|
|
||
39 | tile = ref('vosr','inference.py',88,148,'DiT潜空间对齐/重叠钳制、分块高斯融合、小图方形补齐及裁剪')
|
||
40 | run = ref('vosr','inference.py',151,218,'RGB及重叠检查;tile0大图警告、逐批seed+i/CPU颜色处理、最终返回;无显存/效果保证')
|
||
41 | color = ref('vosr','color.py',25,76,'wavelet低频参考加高频恢复/adain均值方差/none钳制;小轴高斯半径限制')
|
||
| ^^^^^^^^
|
||
42 | vae = ref('vosr','tiled_vae.py',1,len((REF/'vosr__tiled_vae.py').read_text().splitlines()),'独立VAE像素分块、编码解码与高斯融合边…
|
||
43 | image = ref('core','nodes.py',1738,1812,'core0.35.1 LoadImage枚举、校验、IMAGE/MASK与实际素材条件')
|
||
|
|
||
|
||
E501 Line too long (149 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:42:99
|
||
|
|
||
40 | … tile0大图警告、逐批seed+i/CPU颜色处理、最终返回;无显存/效果保证')
|
||
41 | … 频恢复/adain均值方差/none钳制;小轴高斯半径限制')
|
||
42 | …d_vae.py').read_text().splitlines()),'独立VAE像素分块、编码解码与高斯融合边缘条件;不执行')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
43 | …adImage枚举、校验、IMAGE/MASK与实际素材条件')
|
||
44 | …SaveImage RETURN_TYPES IMAGE、result(images,);PreviewImage继承、temp PNG')
|
||
|
|
||
|
||
E501 Line too long (103 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:43:89
|
||
|
|
||
41 | color = ref('vosr','color.py',25,76,'wavelet低频参考加高频恢复/adain均值方差/none钳制;小轴高斯半径限制')
|
||
42 | vae = ref('vosr','tiled_vae.py',1,len((REF/'vosr__tiled_vae.py').read_text().splitlines()),'独立VAE像素分块、编码解码与高斯融合边…
|
||
43 | image = ref('core','nodes.py',1738,1812,'core0.35.1 LoadImage枚举、校验、IMAGE/MASK与实际素材条件')
|
||
| ^^
|
||
44 | preview = ref('core','nodes.py',1660,1736,'准确0.35.1 SaveImage RETURN_TYPES IMAGE、result(images,);PreviewImage继承、temp PNG')
|
||
45 | batch = ref('core','comfy_extras/nodes_images.py',283,310,'ImageFromBatch准确schema/索引钳制/切片;负索引先按批长偏移')
|
||
|
|
||
|
||
E501 Line too long (133 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:44:98
|
||
|
|
||
42 | …sr__tiled_vae.py').read_text().splitlines()),'独立VAE像素分块、编码解码与高斯融合边缘条件;不执行')
|
||
43 | ….35.1 LoadImage枚举、校验、IMAGE/MASK与实际素材条件')
|
||
44 | … 0.35.1 SaveImage RETURN_TYPES IMAGE、result(images,);PreviewImage继承、temp PNG')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
45 | …py',283,310,'ImageFromBatch准确schema/索引钳制/切片;负索引先按批长偏移')
|
||
46 | …mage/PreviewImage注册;ImageFromBatch另由扩展注册')
|
||
|
|
||
|
||
E501 Line too long (123 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:45:94
|
||
|
|
||
43 | image = ref('core','nodes.py',1738,1812,'core0.35.1 LoadImage枚举、校验、IMAGE/MASK与实际素材条件')
|
||
44 | preview = ref('core','nodes.py',1660,1736,'准确0.35.1 SaveImage RETURN_TYPES IMAGE、result(images,);PreviewImage继承、temp PNG')
|
||
45 | batch = ref('core','comfy_extras/nodes_images.py',283,310,'ImageFromBatch准确schema/索引钳制/切片;负索引先按批长偏移')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||
46 | ref('core','nodes.py',2068,2145,'准确核心LoadImage/PreviewImage注册;ImageFromBatch另由扩展注册')
|
||
47 | ref('core','nodes.py',54,54,'MAX_RESOLUTION=16384')
|
||
|
|
||
|
||
E501 Line too long (148 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:52:91
|
||
|
|
||
50 | … WEB_DIRECTORY;没有执行')
|
||
51 | …
|
||
52 | …准确rgthree比较器继承PreviewImage、A/B可选输入和分别保存UI预览;仅ui返回不等于输出result')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
53 | …js',11,81,'比较器前端A/B描述符、保存序列化去img、Canvas控件')
|
||
54 | …er.js',187,225,'比较器值兼容数组/对象并按历史url创建图像;本项目只展示文字不请求URL')
|
||
|
|
||
|
||
E501 Line too long (119 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:53:87
|
||
|
|
||
51 | ref('vhs','__init__.py',1,9,'VHS包映射及web入口')
|
||
52 | comparer = ref('rgthree','py/image_comparer.py',1,41,'准确rgthree比较器继承PreviewImage、A/B可选输入和分别保存UI预览;仅ui返回不…
|
||
53 | comparejs = ref('rgthree','web/comfyui/image_comparer.js',11,81,'比较器前端A/B描述符、保存序列化去img、Canvas控件')
|
||
| ^^^^^^^^^^^^^^^^^^^
|
||
54 | comparevalue = ref('rgthree','web/comfyui/image_comparer.js',187,225,'比较器值兼容数组/对象并按历史url创建图像;本项目只展示文字…
|
||
55 | ref('rgthree','__init__.py',40,67,'准确比较器注册')
|
||
|
|
||
|
||
E501 Line too long (143 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:54:89
|
||
|
|
||
52 | …,'准确rgthree比较器继承PreviewImage、A/B可选输入和分别保存UI预览;仅ui返回不等于输出result')
|
||
53 | …r.js',11,81,'比较器前端A/B描述符、保存序列化去img、Canvas控件')
|
||
54 | …arer.js',187,225,'比较器值兼容数组/对象并按历史url创建图像;本项目只展示文字不请求URL')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
55 | …
|
||
56 | …odes.py',426,474,'VHS_LoadVideo准确具名schema/类型/范围/动态枚举和路径校验')
|
||
|
|
||
|
||
E501 Line too long (132 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:56:97
|
||
|
|
||
54 | …e_comparer.js',187,225,'比较器值兼容数组/对象并按历史url创建图像;本项目只展示文字不请求URL')
|
||
55 | … 册')
|
||
56 | …ideo_nodes.py',426,474,'VHS_LoadVideo准确具名schema/类型/范围/动态枚举和路径校验')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
57 | …deo_nodes.py',24,81,'读取格式默认AnimateDiff、尺寸0及对齐规则')
|
||
58 | …video_nodes.py',83,169,'OpenCV读取路径的force0/跳帧/间隔/cap边界;未解码')
|
||
|
|
||
|
||
E501 Line too long (113 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:57:92
|
||
|
|
||
55 | ref('rgthree','__init__.py',40,67,'准确比较器注册')
|
||
56 | loadvideo = ref('vhs','videohelpersuite/load_video_nodes.py',426,474,'VHS_LoadVideo准确具名schema/类型/范围/动态枚举和路径校验')
|
||
57 | loadimpl = ref('vhs','videohelpersuite/load_video_nodes.py',24,81,'读取格式默认AnimateDiff、尺寸0及对齐规则')
|
||
| ^^^^^^^^^^^^^
|
||
58 | loadframes = ref('vhs','videohelpersuite/load_video_nodes.py',83,169,'OpenCV读取路径的force0/跳帧/间隔/cap边界;未解码')
|
||
59 | constants = ref('vhs','videohelpersuite/utils.py',19,21,'BIGMAX=2**53-1、DIMMAX=8192')
|
||
|
|
||
|
||
E501 Line too long (124 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:58:95
|
||
|
|
||
56 | loadvideo = ref('vhs','videohelpersuite/load_video_nodes.py',426,474,'VHS_LoadVideo准确具名schema/类型/范围/动态枚举和路径校验')
|
||
57 | loadimpl = ref('vhs','videohelpersuite/load_video_nodes.py',24,81,'读取格式默认AnimateDiff、尺寸0及对齐规则')
|
||
58 | loadframes = ref('vhs','videohelpersuite/load_video_nodes.py',83,169,'OpenCV读取路径的force0/跳帧/间隔/cap边界;未解码')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||
59 | constants = ref('vhs','videohelpersuite/utils.py',19,21,'BIGMAX=2**53-1、DIMMAX=8192')
|
||
60 | combine = ref('vhs','videohelpersuite/nodes.py',245,279,'Combine具名默认/范围/可选音频;返回VHS_FILENAMES')
|
||
|
|
||
|
||
E501 Line too long (111 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:60:88
|
||
|
|
||
58 | loadframes = ref('vhs','videohelpersuite/load_video_nodes.py',83,169,'OpenCV读取路径的force0/跳帧/间隔/cap边界;未解码')
|
||
59 | constants = ref('vhs','videohelpersuite/utils.py',19,21,'BIGMAX=2**53-1、DIMMAX=8192')
|
||
60 | combine = ref('vhs','videohelpersuite/nodes.py',245,279,'Combine具名默认/范围/可选音频;返回VHS_FILENAMES')
|
||
| ^^^^^^^^^^^
|
||
61 | temp = ref('vhs','videohelpersuite/nodes.py',334,397,'save_output选择temp/output;VHS_MetadataImage条件写首帧PNG;未执行')
|
||
62 | audio = ref('vhs','videohelpersuite/nodes.py',573,634,'有音频波形才混流、trim/apad及preview描述符;源音频未接')
|
||
|
|
||
|
||
E501 Line too long (126 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:61:98
|
||
|
|
||
59 | constants = ref('vhs','videohelpersuite/utils.py',19,21,'BIGMAX=2**53-1、DIMMAX=8192')
|
||
60 | combine = ref('vhs','videohelpersuite/nodes.py',245,279,'Combine具名默认/范围/可选音频;返回VHS_FILENAMES')
|
||
61 | temp = ref('vhs','videohelpersuite/nodes.py',334,397,'save_output选择temp/output;VHS_MetadataImage条件写首帧PNG;未执行')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
62 | audio = ref('vhs','videohelpersuite/nodes.py',573,634,'有音频波形才混流、trim/apad及preview描述符;源音频未接')
|
||
63 | h264 = ref('vhs','video_formats/h264-mp4.json',1,15,'准确H264/MP4像素格式、CRF范围及元数据/修音轨控件')
|
||
|
|
||
|
||
E501 Line too long (115 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:62:89
|
||
|
|
||
60 | combine = ref('vhs','videohelpersuite/nodes.py',245,279,'Combine具名默认/范围/可选音频;返回VHS_FILENAMES')
|
||
61 | temp = ref('vhs','videohelpersuite/nodes.py',334,397,'save_output选择temp/output;VHS_MetadataImage条件写首帧PNG;未执行')
|
||
62 | audio = ref('vhs','videohelpersuite/nodes.py',573,634,'有音频波形才混流、trim/apad及preview描述符;源音频未接')
|
||
| ^^^^^^^^^^^^^^
|
||
63 | h264 = ref('vhs','video_formats/h264-mp4.json',1,15,'准确H264/MP4像素格式、CRF范围及元数据/修音轨控件')
|
||
64 | vhsjs = ref('vhs','web/js/VHS.core.js',33,111,'VHS前端KV恢复/旧值兼容;不推断扩展组合最终状态')
|
||
|
|
||
|
||
E501 Line too long (107 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:63:86
|
||
|
|
||
61 | temp = ref('vhs','videohelpersuite/nodes.py',334,397,'save_output选择temp/output;VHS_MetadataImage条件写首帧PNG;未执行')
|
||
62 | audio = ref('vhs','videohelpersuite/nodes.py',573,634,'有音频波形才混流、trim/apad及preview描述符;源音频未接')
|
||
63 | h264 = ref('vhs','video_formats/h264-mp4.json',1,15,'准确H264/MP4像素格式、CRF范围及元数据/修音轨控件')
|
||
| ^^^^^^
|
||
64 | vhsjs = ref('vhs','web/js/VHS.core.js',33,111,'VHS前端KV恢复/旧值兼容;不推断扩展组合最终状态')
|
||
65 | upload = ref('vhs','web/js/VHS.core.js',788,795,'choose video to upload为上传按钮且serialize=false;源named额外null不是新物理位置')
|
||
|
|
||
|
||
F841 Local variable `upload` is assigned to but never used
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:65:5
|
||
|
|
||
63 | h264 = ref('vhs','video_formats/h264-mp4.json',1,15,'准确H264/MP4像素格式、CRF范围及元数据/修音轨控件')
|
||
64 | vhsjs = ref('vhs','web/js/VHS.core.js',33,111,'VHS前端KV恢复/旧值兼容;不推断扩展组合最终状态')
|
||
65 | upload = ref('vhs','web/js/VHS.core.js',788,795,'choose video to upload为上传按钮且serialize=false;源named额外null不是新物理位置')
|
||
| ^^^^^^
|
||
66 | history = ref('vhs','web/js/VHS.core.js',895,922,'videopreview为前端预览对象;历史params不是当前产物')
|
||
67 | ref('vhs','videohelpersuite/nodes.py',1039,1070,'VHS Combine/LoadVideo注册')
|
||
|
|
||
help: Remove assignment to unused variable `upload`
|
||
|
||
E501 Line too long (135 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:65:95
|
||
|
|
||
63 | h264 = ref('vhs','video_formats/h264-mp4.json',1,15,'准确H264/MP4像素格式、CRF范围及元数据/修音轨控件')
|
||
64 | vhsjs = ref('vhs','web/js/VHS.core.js',33,111,'VHS前端KV恢复/旧值兼容;不推断扩展组合最终状态')
|
||
65 | upload = ref('vhs','web/js/VHS.core.js',788,795,'choose video to upload为上传按钮且serialize=false;源named额外null不是新物理位置')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
66 | history = ref('vhs','web/js/VHS.core.js',895,922,'videopreview为前端预览对象;历史params不是当前产物')
|
||
67 | ref('vhs','videohelpersuite/nodes.py',1039,1070,'VHS Combine/LoadVideo注册')
|
||
|
|
||
|
||
E501 Line too long (106 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:66:87
|
||
|
|
||
64 | vhsjs = ref('vhs','web/js/VHS.core.js',33,111,'VHS前端KV恢复/旧值兼容;不推断扩展组合最终状态')
|
||
65 | upload = ref('vhs','web/js/VHS.core.js',788,795,'choose video to upload为上传按钮且serialize=false;源named额外null不是新物理位置')
|
||
66 | history = ref('vhs','web/js/VHS.core.js',895,922,'videopreview为前端预览对象;历史params不是当前产物')
|
||
| ^^^^^^
|
||
67 | ref('vhs','videohelpersuite/nodes.py',1039,1070,'VHS Combine/LoadVideo注册')
|
||
68 | guhai = ref('guhai','nodes/忽略多组.py',1,23,'忽略多组孤海后端无输入输出,execute返回空;guhai_ig不是后端参数')
|
||
|
|
||
|
||
E501 Line too long (115 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:68:79
|
||
|
|
||
66 | history = ref('vhs','web/js/VHS.core.js',895,922,'videopreview为前端预览对象;历史params不是当前产物')
|
||
67 | ref('vhs','videohelpersuite/nodes.py',1039,1070,'VHS Combine/LoadVideo注册')
|
||
68 | guhai = ref('guhai','nodes/忽略多组.py',1,23,'忽略多组孤海后端无输入输出,execute返回空;guhai_ig不是后端参数')
|
||
| ^^^^^^^^^^^^^^^
|
||
69 | guhaijs = ref('guhai','web/js/nodes pass.js',5,106,'GuHai创建控件、onConfigure重新同步properties,默认/active_set/disable条件')
|
||
70 | groupmode = ref('guhai','web/js/nodes pass.js',375,443,'GuHai组状态可改节点mode0/2/4;只解释源码条件,不模拟最终运行模式')
|
||
|
|
||
|
||
E501 Line too long (131 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:69:92
|
||
|
|
||
67 | …70,'VHS Combine/LoadVideo注册')
|
||
68 | …'忽略多组孤海后端无输入输出,execute返回空;guhai_ig不是后端参数')
|
||
69 | …5,106,'GuHai创建控件、onConfigure重新同步properties,默认/active_set/disable条件')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
70 | …',375,443,'GuHai组状态可改节点mode0/2/4;只解释源码条件,不模拟最终运行模式')
|
||
71 | …rc/LGraphNode.ts',901,1043,'准确frontend先恢复属性、namedValuesRestore决定具名/位置值、最后onConfigure;扩展次序未知')
|
||
|
|
||
|
||
E501 Line too long (126 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:70:88
|
||
|
|
||
68 | guhai = ref('guhai','nodes/忽略多组.py',1,23,'忽略多组孤海后端无输入输出,execute返回空;guhai_ig不是后端参数')
|
||
69 | guhaijs = ref('guhai','web/js/nodes pass.js',5,106,'GuHai创建控件、onConfigure重新同步properties,默认/active_set/disable条件')
|
||
70 | groupmode = ref('guhai','web/js/nodes pass.js',375,443,'GuHai组状态可改节点mode0/2/4;只解释源码条件,不模拟最终运行模式')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
71 | restore = ref('frontend','src/lib/litegraph/src/LGraphNode.ts',901,1043,'准确frontend先恢复属性、namedValuesRestore决定具名/位置…
|
||
72 | seedcontrol = ref('frontend','src/scripts/widgets.ts',89,146,'种子前端control_after_generate控件命名及fixed等枚举、不放prompt')
|
||
|
|
||
|
||
E501 Line too long (167 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:71:94
|
||
|
|
||
69 | … 、onConfigure重新同步properties,默认/active_set/disable条件')
|
||
70 | … 态可改节点mode0/2/4;只解释源码条件,不模拟最终运行模式')
|
||
71 | …01,1043,'准确frontend先恢复属性、namedValuesRestore决定具名/位置值、最后onConfigure;扩展次序未知')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
72 | … 前端control_after_generate控件命名及fixed等枚举、不放prompt')
|
||
73 | …种子生成前后设置和回调条件;fixed不做increment/randomize,本轮不求随机数')
|
||
|
|
||
|
||
E501 Line too long (131 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:72:95
|
||
|
|
||
70 | …',375,443,'GuHai组状态可改节点mode0/2/4;只解释源码条件,不模拟最终运行模式')
|
||
71 | …rc/LGraphNode.ts',901,1043,'准确frontend先恢复属性、namedValuesRestore决定具名/位置值、最后onConfigure;扩展次序未知')
|
||
72 | …gets.ts',89,146,'种子前端control_after_generate控件命名及fixed等枚举、不放prompt')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
73 | …dgets.ts',148,220,'种子生成前后设置和回调条件;fixed不做increment/randomize,本轮不求随机数')
|
||
74 | …1,len((REF/'frontend__src__scripts__valueControl.ts').read_text().splitlines()),'种子控制nextValueForLinkedTarget及fixed分支静态实现')
|
||
|
|
||
|
||
E501 Line too long (142 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:73:87
|
||
|
|
||
71 | …aphNode.ts',901,1043,'准确frontend先恢复属性、namedValuesRestore决定具名/位置值、最后onConfigure;扩展次序未知')
|
||
72 | …s',89,146,'种子前端control_after_generate控件命名及fixed等枚举、不放prompt')
|
||
73 | …ts',148,220,'种子生成前后设置和回调条件;fixed不做increment/randomize,本轮不求随机数')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
74 | …(REF/'frontend__src__scripts__valueControl.ts').read_text().splitlines()),'种子控制nextValueForLinkedTarget及fixed分支静态实现')
|
||
75 | …ploadImage.ts',1,len((REF/'frontend__src__extensions__core__uploadImage.ts').read_text().splitlines()),'准确上传扩展静态文本;源uploa…
|
||
|
|
||
|
||
E501 Line too long (219 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:75:101
|
||
|
|
||
73 | … ;fixed不做increment/randomize,本轮不求随机数')
|
||
74 | …trol.ts').read_text().splitlines()),'种子控制nextValueForLinkedTarget及fixed分支静态实现')
|
||
75 | …rc__extensions__core__uploadImage.ts').read_text().splitlines()),'准确上传扩展静态文本;源upload=image前端状态不证明上传成功')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
76 | …
|
||
77 | … 许可原文')
|
||
|
|
||
|
||
E501 Line too long (238 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:85:71
|
||
|
|
||
84 | … 保包含VOSR2;非任意路径',
|
||
85 | … 码尝试HF下载,齐全即返回;HF调用无revision,不称已固定权重。本轮不加载、不下载,实际安装未知。',[loader,bundle,discovery,download,modelimpl])
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
86 | …
|
||
87 | … 精度、显存或硬件兼容保证。',[loader,dtype,modelimpl])
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:88:78
|
||
|
|
||
86 | define('dtype','计算数据类型','default','枚举','default/fp16/bf16',
|
||
87 | '保存default委托ComfyUI设备unet_dtype;DiT与视觉编码器用计算类型,VAE仍fp32。它不是固定精度、显存或硬件兼容保证。',[loader,…
|
||
88 | define('upscale','目标放大倍率','4','倍','INT 1~sys.maxsize;上限随Python平台,不当可用尺寸上限',
|
||
| ^^
|
||
89 | '先bicubic插值到输入高宽乘倍率,再模型处理、填充和裁剪;27保存4、143保存2分实例。输入尺寸未知,不能给实际像素尺寸/画质保证…
|
||
90 | define('seed','初始噪声种子','42','整数种子','0~sys.maxsize;每批项静态采用seed+i',
|
||
|
|
||
|
||
E501 Line too long (174 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:91:68
|
||
|
|
||
89 | … 4、143保存2分实例。输入尺寸未知,不能给实际像素尺寸/画质保证;schema自身也不保证高倍率效果。',[upscale,resize,run])
|
||
90 | … 静态采用seed+i',
|
||
91 | …ed+i只静态说明,不计算随机数,不保证不同硬件/实现复现。与额外fixed前端控制分开。',[upscale,resize,run])
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
92 | ….fixed;具体恢复仍受前端命名影响','前端枚举','前端fixed/increment/decrement/randomize;不是额外后端seed输入',
|
||
93 | …ter_generate字符串给控件命名。保存模式表示固定控制意图,不新增后端fixed字段,不求随机数;组合扩展恢复未知。',[upscale,seedcontrol,see…
|
||
|
|
||
|
||
E501 Line too long (105 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:120:79
|
||
|
|
||
118 | define('pix_fmt','H264像素格式','枚举首项yuv420p;格式未显式default','枚举','yuv420p/yuv420p10le',
|
||
119 | '旁路保存yuv420p传给编码器像素格式;不保证实际位深或颜色精度。',[h264])
|
||
120 | define('crf','H264质量因子','19','CRF值','INT 0~100,step1(插件schema范围,不保证编码器全部接受)',
|
||
| ^^^^
|
||
121 | '旁路保存19,请求libx264的-crf参数;通常较低值减少压缩,但文件大小、质量及编码器接受范围未验证。',[h264])
|
||
122 | define('save_metadata','视频元数据开关','true','布尔','H264格式扩展控件',
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:151:14
|
||
|
|
||
149 | define('guhai_ig','组忽略控件保存状态','前端状态;后端无required输入','前端文本','保存空字符串;实际组状态由properties和前端同步…
|
||
150 | '149保存空串不是提示词。properties模式default、active=null、active_set=[图像放大]、disable=false及过滤/排序/颜色/缩放分别…
|
||
151 | fields=[];comments=[];missing=[]
|
||
| ^
|
||
152 | for i,n in enumerate(g['nodes']):
|
||
153 | base=f'/nodes/{i}'
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:151:26
|
||
|
|
||
149 | define('guhai_ig','组忽略控件保存状态','前端状态;后端无required输入','前端文本','保存空字符串;实际组状态由properties和前端同步…
|
||
150 | '149保存空串不是提示词。properties模式default、active=null、active_set=[图像放大]、disable=false及过滤/排序/颜色/缩放分别…
|
||
151 | fields=[];comments=[];missing=[]
|
||
| ^
|
||
152 | for i,n in enumerate(g['nodes']):
|
||
153 | base=f'/nodes/{i}'
|
||
|
|
||
|
||
E501 Line too long (160 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:155:99
|
||
|
|
||
153 | …
|
||
154 | …
|
||
155 | …n['type'],effect='源widgets_values为JSON null,非缺键或空数组;PreviewImage无可编辑保存位置。'))
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
156 | …
|
||
157 | …
|
||
|
|
||
|
||
E501 Line too long (281 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:158:101
|
||
|
|
||
156 | …
|
||
157 | …
|
||
158 | …inter=base+'/widgets_values_named/text',text=n['widgets_values'][0],meaning='原文“upscale: 放大倍数,根据图片尺寸调整”是建议;27实际保存4而旁路143保存2,不当倍率默认、质量或资源保证。'))
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
159 | …
|
||
160 | …
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:160:30
|
||
|
|
||
158 | … comments.append(dict(node_id=str(n['id']),pointer=base+'/widgets_values/0',named_pointer=base+'/widgets_values_named/text',…
|
||
159 | … continue
|
||
160 | … w=n['widgets_values'];named=n['widgets_values_named']
|
||
| ^
|
||
161 | … names=list(named) if isinstance(w,list) else list(w)
|
||
162 | … assert len(w)==len(names)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:165:31
|
||
|
|
||
163 | … for k,name in enumerate(names):
|
||
164 | … v=w[k] if isinstance(w,list) else w[name]
|
||
165 | … f=dict(data[name]);f['evidence']=list(f['evidence'])
|
||
| ^
|
||
166 | … if n['id']==148 and name=='format':
|
||
167 | … f.update(label='旁路读取格式',schema_default='AnimateDiff',unit='枚举',limits='nodes.VHSLoadFormats与VHSLoadFormats合…
|
||
|
|
||
|
||
E501 Line too long (103 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:168:101
|
||
|
|
||
166 | … if n['id']==148 and name=='format':
|
||
167 | … f.update(label='旁路读取格式',schema_default='AnimateDiff',unit='枚举',limits='nodes.VHSLoadFormats与VHSLoadFormats合并枚…
|
||
168 | … ptr=f'{base}/widgets_values/{k}' if isinstance(w,list) else f'{base}/widgets_values/{name}'
|
||
| ^^^
|
||
169 | … np=f'{base}/widgets_values_named/{name}'
|
||
170 | … inp=next((j for j,p in enumerate(n.get('inputs',[])) if p['name']==name),None)
|
||
|
|
||
|
||
E501 Line too long (141 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:171:101
|
||
|
|
||
169 | …
|
||
170 | …uts',[])) if p['name']==name),None)
|
||
171 | …,list)) else 'frontend_control' if name in ['fixed','upload','guhai_ig'] else 'scalar'
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
172 | …class_type=n['type'],field=name,pointer=ptr,named_pointer=np,input_pointer=f'{base}/inputs/{inp}' if inp is not None else np,value=v…
|
||
173 | …e']+[restore]))
|
||
|
|
||
|
||
E501 Line too long (480 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:172:101
|
||
|
|
||
170 | …
|
||
171 | …in ['fixed','upload','guhai_ig'] else 'scalar'
|
||
172 | …ptr,named_pointer=np,input_pointer=f'{base}/input…
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
173 | …
|
||
174 | …
|
||
|
|
||
|
||
E501 Line too long (232 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:179:90
|
||
|
|
||
177 | …
|
||
178 | …ote和149组控件。仅原保存态,不模拟组改写或旁路执行。',
|
||
179 | … MASK未接。准确core0.35.1 PreviewImage继承IMAGE返回且SaveImage给result(images,),不是沿用旧版无出口结论;预览写temp PNG非正式保存保证。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
180 | …age,不是处理后预览。148音频未接146;143倍率2,146合成24不继承来源FPS;不模拟最终运行状态。',
|
||
181 | … 保存VOSR2/default,实例不去重。fixed前端控制与后端seed分开,前端命名和扩展恢复另有限制。',
|
||
|
|
||
|
||
E501 Line too long (193 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:184:74
|
||
|
|
||
182 | …ions=129c7c4dfdd4306c574c6e4a6117f588e704efcd冲突分列;节点core0.35.1、图级0.34.0分层,不替换。frontend1.51.9与rgthree/VHS/GuHai准…
|
||
183 | … 裁剪。RGB和两组重叠约束分别验证;很小维度的反射填充仍受底层限制,未声称任意图都成功。sys.maxsize不是资源上限;源码512/1024警告不是…
|
||
184 | … revision;这里只静态解释,没有执行模型/插件、下载或反序列化。default委托设备计算类型,VAE fp32;不保证精度。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
185 | … 均保留,URL只原文不请求。146/148各完整videopreview对象,temp/24、D盘路径、MP4/PNG名不当当前产物。',
|
||
186 | …values无此键,不凭具名额外null制造位置;准确VHS按钮serialize=false。28/151物理widgets_values=null,非缺键或[]。',
|
||
|
|
||
|
||
E501 Line too long (194 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:186:89
|
||
|
|
||
184 | … revision;这里只静态解释,没有执行模型/插件、下载或反序列化。default委托设备计算类型,VAE fp32;不保证精度。',
|
||
185 | … 保留,URL只原文不请求。146/148各完整videopreview对象,temp/24、D盘路径、MP4/PNG名不当当前产物。',
|
||
186 | …alues无此键,不凭具名额外null制造位置;准确VHS按钮serialize=false。28/151物理widgets_values=null,非缺键或[]。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
187 | …i=False)+'。准确JS在onConfigure同步,default active_set和disable可能改节点mode;只报告保存事实,不推最终加载状态。',
|
||
188 | … 无恢复改写;LoadImage的guhaiImageValue、sdppp default/canvas等独立未知。准确前端namedValuesRestore开关决定具名或位置恢复,再onConfi…
|
||
|
|
||
|
||
E501 Line too long (198 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:187:97
|
||
|
|
||
185 | … 保留,URL只原文不请求。146/148各完整videopreview对象,temp/24、D盘路径、MP4/PNG名不当当前产物。',
|
||
186 | …lues无此键,不凭具名额外null制造位置;准确VHS按钮serialize=false。28/151物理widgets_values=null,非缺键或[]。',
|
||
187 | …=False)+'。准确JS在onConfigure同步,default active_set和disable可能改节点mode;只报告保存事实,不推最终加载状态。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
188 | … 无恢复改写;LoadImage的guhaiImageValue、sdppp default/canvas等独立未知。准确前端namedValuesRestore开关决定具名或位置恢复,再onConfi…
|
||
189 | … 首帧PNG,H264后续视频需要编码器。源extra未设该键,准确默认条件不证明本环境实况;音频未接,不保证FPS/编码/同步。',
|
||
|
|
||
|
||
E501 Line too long (263 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:188:80
|
||
|
|
||
186 | … 凭具名额外null制造位置;准确VHS按钮serialize=false。28/151物理widgets_values=null,非缺键或[]。',
|
||
187 | … 确JS在onConfigure同步,default active_set和disable可能改节点mode;只报告保存事实,不推最终加载状态。',
|
||
188 | … LoadImage的guhaiImageValue、sdppp default/canvas等独立未知。准确前端namedValuesRestore开关决定具名或位置恢复,再onConfigure;所有扩展组合顺序未证明,不重开旧UE调查。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
189 | …64后续视频需要编码器。源extra未设该键,准确默认条件不证明本环境实况;音频未接,不保证FPS/编码/同步。',
|
||
190 | … +24注释逐对象冻结,现33图1034+25仅参考。155定稿0/实跑0/新增转换0;145UI9参考候选136关闭。',
|
||
|
|
||
|
||
E501 Line too long (197 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:189:84
|
||
|
|
||
187 | …=False)+'。准确JS在onConfigure同步,default active_set和disable可能改节点mode;只报告保存事实,不推最终加载状态。',
|
||
188 | … 无恢复改写;LoadImage的guhaiImageValue、sdppp default/canvas等独立未知。准确前端namedValuesRestore开关决定具名或位置恢复,再onConfi…
|
||
189 | … 首帧PNG,H264后续视频需要编码器。源extra未设该键,准确默认条件不证明本环境实况;音频未接,不保证FPS/编码/同步。',
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
190 | … 32图988位置+24注释逐对象冻结,现33图1034+25仅参考。155定稿0/实跑0/新增转换0;145UI9参考候选136关闭。',
|
||
191 | … 按其他包许可补齐。',
|
||
|
|
||
|
||
E501 Line too long (990 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/build_definition.py:194:101
|
||
|
|
||
192 | …
|
||
193 | …
|
||
194 | …6=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),notice='仅固定来源参考;身份冲突、扩展恢复/模型素材/设备/真实效果未知,转换关闭、未实跑。',user_overview=overview,versions=[e['id']+'→'+e['commit'] for e in json.loads((REF/'identities.json').read_bytes())],counts=dict(saved_fields=46,source_nodes=13,physical_edges=10,source_notes=1,history_objects=3,linked_saved_fields=0,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=missing,boundaries=[],steps=[overview,'操作1:分别核对图片活动链和视频旁路保存态、比较器A/B与版本冲突,保持停用;不上传素材。','操作2:核对两套倍率、种子和独立分块设置,模型/设备/扩展恢复未知,不加载模型或构造prompt。','操作3:全量完成并审核前仅读参考说明,不作为生成入口;实际质量/FPS/产物/显存仍未测。'])
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:28:69
|
||
|
|
||
26 | key,(repo,commit,tag)=item
|
||
27 | if tag:
|
||
28 | raw=get(f'https://api.github.com/repos/{repo}/git/ref/tags/{tag}');(REF/f'{key}-tag.json').write_bytes(raw)
|
||
| ^
|
||
29 | obj=json.loads(raw)['object']
|
||
30 | if obj['type']=='tag':
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:31:23
|
||
|
|
||
29 | obj=json.loads(raw)['object']
|
||
30 | if obj['type']=='tag':
|
||
31 | raw=get(obj['url']);(REF/f'{key}-tag-object.json').write_bytes(raw);obj=json.loads(raw)['object']
|
||
| ^
|
||
32 | assert obj['type']=='commit';commit=obj['sha']
|
||
33 | raw=get(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1');(REF/f'{key}-tree.json').write_bytes(raw)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:31:71
|
||
|
|
||
29 | obj=json.loads(raw)['object']
|
||
30 | if obj['type']=='tag':
|
||
31 | raw=get(obj['url']);(REF/f'{key}-tag-object.json').write_bytes(raw);obj=json.loads(raw)['object']
|
||
| ^
|
||
32 | assert obj['type']=='commit';commit=obj['sha']
|
||
33 | raw=get(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1');(REF/f'{key}-tree.json').write_bytes(raw)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:32:31
|
||
|
|
||
30 | if obj['type']=='tag':
|
||
31 | raw=get(obj['url']);(REF/f'{key}-tag-object.json').write_bytes(raw);obj=json.loads(raw)['object']
|
||
32 | assert obj['type']=='commit';commit=obj['sha']
|
||
| ^
|
||
33 | raw=get(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1');(REF/f'{key}-tree.json').write_bytes(raw)
|
||
34 | tree=json.loads(raw);assert not tree['truncated'] and tree['sha']==commit
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:33:80
|
||
|
|
||
31 | raw=get(obj['url']);(REF/f'{key}-tag-object.json').write_bytes(raw);obj=json.loads(raw)['object']
|
||
32 | assert obj['type']=='commit';commit=obj['sha']
|
||
33 | raw=get(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1');(REF/f'{key}-tree.json').write_bytes(raw)
|
||
| ^
|
||
34 | tree=json.loads(raw);assert not tree['truncated'] and tree['sha']==commit
|
||
35 | return key,repo,commit,tree
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:34:22
|
||
|
|
||
32 | assert obj['type']=='commit';commit=obj['sha']
|
||
33 | raw=get(f'https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1');(REF/f'{key}-tree.json').write_bytes(raw)
|
||
34 | tree=json.loads(raw);assert not tree['truncated'] and tree['sha']==commit
|
||
| ^
|
||
35 | return key,repo,commit,tree
|
||
|
|
||
|
||
E501 Line too long (114 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:40:101
|
||
|
|
||
38 | with ThreadPoolExecutor(max_workers=4) as pool:
|
||
39 | rows=list(pool.map(metadata,SPECS.items()))
|
||
40 | (REF/'identities.json').write_text(json.dumps([{ 'id':k,'repo':r,'commit':c} for k,r,c,t in rows],indent=2)+'\n')
|
||
| ^^^^^^^^^^^^^^
|
||
41 | for key,repo,commit,tree in rows:
|
||
42 | print(key,commit,[x['path'] for x in tree['tree'] if x['type']=='blob' and (key=='vosr' or any(z in x['path'].lower() for z in ['ign…
|
||
|
|
||
|
||
E501 Line too long (257 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:42:101
|
||
|
|
||
40 | …ws],indent=2)+'\n')
|
||
41 | …
|
||
42 | …y(z in x['path'].lower() for z in ['ignore','ign','comparer','license','load_video','nodes.py','format','upload','controlafter','lgraphnode']))][:100],flush=True)
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
43 | …
|
||
44 | …
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:44:24
|
||
|
|
||
42 | print(key,commit,[x['path'] for x in tree['tree'] if x['type']=='blob' and (key=='vosr' or any(z in x['path'].lower() for z in ['ign…
|
||
43 |
|
||
44 | if __name__=='__main__':main()
|
||
| ^
|
||
45 |
|
||
46 | FILES = {
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:47:101
|
||
|
|
||
46 | FILES = {
|
||
47 | 'vosr': ['__init__.py','nodes_vosr.py','loader.py','inference.py','color.py','tiled_vae.py','LICENSE'],
|
||
| ^^^^
|
||
48 | 'core': ['nodes.py','comfy_extras/nodes_images.py','comfy_api/latest/_io.py','folder_paths.py','LICENSE'],
|
||
49 | 'frontend': ['src/scripts/widgets.ts','src/scripts/valueControl.ts','src/extensions/core/uploadImage.ts','src/lib/litegraph/src/LGrap…
|
||
|
|
||
|
||
E501 Line too long (107 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:48:101
|
||
|
|
||
46 | FILES = {
|
||
47 | 'vosr': ['__init__.py','nodes_vosr.py','loader.py','inference.py','color.py','tiled_vae.py','LICENSE'],
|
||
48 | 'core': ['nodes.py','comfy_extras/nodes_images.py','comfy_api/latest/_io.py','folder_paths.py','LICENSE'],
|
||
| ^^^^^^^
|
||
49 | 'frontend': ['src/scripts/widgets.ts','src/scripts/valueControl.ts','src/extensions/core/uploadImage.ts','src/lib/litegraph/src/LGrap…
|
||
50 | 'rgthree': ['__init__.py','py/image_comparer.py','py/constants.py','web/comfyui/image_comparer.js','LICENSE'],
|
||
|
|
||
|
||
E501 Line too long (155 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:49:101
|
||
|
|
||
47 | …e.py','color.py','tiled_vae.py','LICENSE'],
|
||
48 | …i/latest/_io.py','folder_paths.py','LICENSE'],
|
||
49 | …rol.ts','src/extensions/core/uploadImage.ts','src/lib/litegraph/src/LGraphNode.ts','LICENSE'],
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
50 | …ts.py','web/comfyui/image_comparer.js','LICENSE'],
|
||
51 | …ersuite/load_video_nodes.py','videohelpersuite/utils.py','video_formats/h264-mp4.json','web/js/VHS.core.js','LICENSE'],
|
||
|
|
||
|
||
E501 Line too long (111 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:50:101
|
||
|
|
||
48 | 'core': ['nodes.py','comfy_extras/nodes_images.py','comfy_api/latest/_io.py','folder_paths.py','LICENSE'],
|
||
49 | 'frontend': ['src/scripts/widgets.ts','src/scripts/valueControl.ts','src/extensions/core/uploadImage.ts','src/lib/litegraph/src/LGrap…
|
||
50 | 'rgthree': ['__init__.py','py/image_comparer.py','py/constants.py','web/comfyui/image_comparer.js','LICENSE'],
|
||
| ^^^^^^^^^^^
|
||
51 | 'vhs': ['__init__.py','videohelpersuite/nodes.py','videohelpersuite/load_video_nodes.py','videohelpersuite/utils.py','video_formats/h…
|
||
52 | 'guhai': ['__init__.py','nodes/忽略多组.py','web/js/nodes pass.js','README.md'],
|
||
|
|
||
|
||
E501 Line too long (180 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:51:101
|
||
|
|
||
49 | …extensions/core/uploadImage.ts','src/lib/litegraph/src/LGraphNode.ts','LICENSE'],
|
||
50 | …omfyui/image_comparer.js','LICENSE'],
|
||
51 | …video_nodes.py','videohelpersuite/utils.py','video_formats/h264-mp4.json','web/js/VHS.core.js','LICENSE'],
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
52 | …E.md'],
|
||
53 | …
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:56:61
|
||
|
|
||
55 | def fetch_texts():
|
||
56 | identities=json.loads((REF/'identities.json').read_bytes());entries=[]
|
||
| ^
|
||
57 | def fetch(job):
|
||
58 | row,p,blob=job;key=row['id'];commit=row['commit'];url=f"https://raw.githubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:58:17
|
||
|
|
||
56 | identities=json.loads((REF/'identities.json').read_bytes());entries=[]
|
||
57 | def fetch(job):
|
||
58 | row,p,blob=job;key=row['id'];commit=row['commit'];url=f"https://raw.githubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
| ^
|
||
59 | name=key+'__'+p.replace('/','__');cached=REF/name
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:58:31
|
||
|
|
||
56 | identities=json.loads((REF/'identities.json').read_bytes());entries=[]
|
||
57 | def fetch(job):
|
||
58 | row,p,blob=job;key=row['id'];commit=row['commit'];url=f"https://raw.githubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
| ^
|
||
59 | name=key+'__'+p.replace('/','__');cached=REF/name
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:58:52
|
||
|
|
||
56 | identities=json.loads((REF/'identities.json').read_bytes());entries=[]
|
||
57 | def fetch(job):
|
||
58 | row,p,blob=job;key=row['id'];commit=row['commit'];url=f"https://raw.githubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
| ^
|
||
59 | name=key+'__'+p.replace('/','__');cached=REF/name
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:59:36
|
||
|
|
||
57 | def fetch(job):
|
||
58 | row,p,blob=job;key=row['id'];commit=row['commit'];url=f"https://raw.githubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
59 | name=key+'__'+p.replace('/','__');cached=REF/name
|
||
| ^
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
61 | name=key+'__'+p.replace('/','__');(REF/name).write_bytes(b)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:60:87
|
||
|
|
||
58 | row,p,blob=job;key=row['id'];commit=row['commit'];url=f"https://raw.githubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
59 | name=key+'__'+p.replace('/','__');cached=REF/name
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
| ^
|
||
61 | name=key+'__'+p.replace('/','__');(REF/name).write_bytes(b)
|
||
62 | return dict(id=key,file=p,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(b).hexdigest(),git_blob_sha1=blob)
|
||
|
|
||
|
||
E501 Line too long (177 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:60:101
|
||
|
|
||
58 | …thubusercontent.com/{row['repo']}/{commit}/{p}"
|
||
59 | …
|
||
60 | …rl,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode()+b'\0'+b).hexdigest();assert actual==blob
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
61 | …
|
||
62 | …=hashlib.sha256(b).hexdigest(),git_blob_sha1=blob)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:60:158
|
||
|
|
||
58 | …/{row['repo']}/{commit}/{p}"
|
||
59 | …
|
||
60 | …al=hashlib.sha1(b'blob '+str(len(b)).encode()+b'\0'+b).hexdigest();assert actual==blob
|
||
| ^
|
||
61 | …
|
||
62 | …hexdigest(),git_blob_sha1=blob)
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:61:36
|
||
|
|
||
59 | name=key+'__'+p.replace('/','__');cached=REF/name
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
61 | name=key+'__'+p.replace('/','__');(REF/name).write_bytes(b)
|
||
| ^
|
||
62 | return dict(id=key,file=p,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(b).hexdigest(),git_blob_sha1=blob)
|
||
63 | jobs=[]
|
||
|
|
||
|
||
E501 Line too long (122 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:62:101
|
||
|
|
||
60 | b=cached.read_bytes() if cached.exists() else get(urllib.parse.quote(url,safe=':/'));actual=hashlib.sha1(b'blob '+str(len(b)).encode…
|
||
61 | name=key+'__'+p.replace('/','__');(REF/name).write_bytes(b)
|
||
62 | return dict(id=key,file=p,local_file=name,url=url,commit=commit,sha256=hashlib.sha256(b).hexdigest(),git_blob_sha1=blob)
|
||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||
63 | jobs=[]
|
||
64 | for row in identities:
|
||
|
|
||
|
||
E501 Line too long (122 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:65:101
|
||
|
|
||
63 | jobs=[]
|
||
64 | for row in identities:
|
||
65 | paths={e['path']:e['sha'] for e in json.loads((REF/(row['id']+'-tree.json')).read_bytes())['tree'] if e['type']=='blob'}
|
||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||
66 | for p in FILES[row['id']]:
|
||
67 | if p in paths: jobs.append((row,p,paths[p]))
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:67:17
|
||
|
|
||
65 | paths={e['path']:e['sha'] for e in json.loads((REF/(row['id']+'-tree.json')).read_bytes())['tree'] if e['type']=='blob'}
|
||
66 | for p in FILES[row['id']]:
|
||
67 | if p in paths: jobs.append((row,p,paths[p]))
|
||
| ^
|
||
68 | else: print('MISSING',row['id'],p,flush=True)
|
||
69 | with ThreadPoolExecutor(max_workers=5) as pool:entries=list(pool.map(fetch,jobs))
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:68:8
|
||
|
|
||
66 | for p in FILES[row['id']]:
|
||
67 | if p in paths: jobs.append((row,p,paths[p]))
|
||
68 | else: print('MISSING',row['id'],p,flush=True)
|
||
| ^
|
||
69 | with ThreadPoolExecutor(max_workers=5) as pool:entries=list(pool.map(fetch,jobs))
|
||
70 | (REF/'sources.json').write_text(json.dumps(dict(sources=entries),indent=2)+'\n')
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/vosr2-document-evidence/fetch_sources.py:69:48
|
||
|
|
||
67 | if p in paths: jobs.append((row,p,paths[p]))
|
||
68 | else: print('MISSING',row['id'],p,flush=True)
|
||
69 | with ThreadPoolExecutor(max_workers=5) as pool:entries=list(pool.map(fetch,jobs))
|
||
| ^
|
||
70 | (REF/'sources.json').write_text(json.dumps(dict(sources=entries),indent=2)+'\n')
|
||
71 | print('Fetched',len(entries),'bounded texts')
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/render_report.py:105:87
|
||
|
|
||
103 | ]
|
||
104 | index.append(dict(document=b["source_path"], **e))
|
||
105 | (OUT.parent / "VOSR2图片超分放大固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n")
|
||
| ^^
|
||
106 | (OUT / "fixed-source-index.json").write_text(
|
||
107 | json.dumps(index, ensure_ascii=False, indent=2) + "\n"
|
||
|
|
||
|
||
E702 Multiple statements on one line (semicolon)
|
||
--> docs/hel-892/vosr2-document-evidence/verify_sources.py:9:14
|
||
|
|
||
8 | def main():
|
||
9 | b=build();roots={}
|
||
| ^
|
||
10 | for e in b['sources']:
|
||
11 | raw=(OUT/e['local_file']).read_bytes()
|
||
|
|
||
|
||
E501 Line too long (164 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/verify_sources.py:15:101
|
||
|
|
||
13 | …
|
||
14 | …
|
||
15 | …raw).hexdigest()==e['git_blob_sha1']==next(x['sha'] for x in tree['tree'] if x['path']==e['file'])
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
16 | …plitlines())
|
||
17 | …
|
||
|
|
||
|
||
E501 Line too long (223 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/verify_sources.py:19:101
|
||
|
|
||
17 | …
|
||
18 | …
|
||
19 | …url':f"https://api.github.com/repos/Comfy-Org/{'ComfyUI' if e['id']=='core' else 'ComfyUI_frontend'}/git/commits/{e['commit']}"}
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
20 | …
|
||
21 | …
|
||
|
|
||
|
||
E501 Line too long (121 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/verify_sources.py:25:101
|
||
|
|
||
23 | assert len(g['nodes'])==13 and len(g['links'])==10 and 'definitions' not in g
|
||
24 | guhai=json.loads((REF/'guhai-tree.json').read_bytes())
|
||
25 | missing_license=not any(x['path'].lower() in ['license','license.md','copying','license.txt'] for x in guhai['tree'])
|
||
| ^^^^^^^^^^^^^^^^^^^^^
|
||
26 | assert missing_license
|
||
27 | (OUT/'source-check.json').write_text(json.dumps(dict(all_pass=True,commits=roots,citations=len(b['sources']),git_texts=len({e['loc…
|
||
|
|
||
|
||
E501 Line too long (320 > 100)
|
||
--> docs/hel-892/vosr2-document-evidence/verify_sources.py:27:101
|
||
|
|
||
25 | …'] for x in guhai['tree'])
|
||
26 | …
|
||
27 | …len(b['sources']),git_texts=len({e['local_file'] for e in b['sources']}),local_file_base=str(OUT.relative_to(REPO)),guhai_license='README generic statement only; exact license unknown',upstream_executed=False),indent=2)+'\n')
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
28 | …
|
||
|
|
||
|
||
E701 Multiple statements on one line (colon)
|
||
--> docs/hel-892/vosr2-document-evidence/verify_sources.py:31:24
|
||
|
|
||
31 | if __name__=='__main__':main()
|
||
| ^
|
||
|
||
Found 132 errors (2 fixed, 130 remaining).
|
||
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
|