568 lines
36 KiB
Plaintext
568 lines
36 KiB
Plaintext
E501 Line too long (104 > 100)
|
||
--> calliope-backend/tests/test_openpose_fixed_document.py:106:101
|
||
|
|
||
104 | source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||
105 | set_value(source, path, "forged")
|
||
106 | review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(source)).hexdigest()
|
||
| ^^^^
|
||
107 | review["caller_digest"] = hashlib.sha256(canonical(review["fixed_version_document"])).hexdigest()
|
||
108 | assert not doc(source, review)["fixed_version"]["matched"]
|
||
|
|
||
|
||
E501 Line too long (101 > 100)
|
||
--> calliope-backend/tests/test_openpose_fixed_document.py:107:101
|
||
|
|
||
105 | set_value(source, path, "forged")
|
||
106 | review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(source)).hexdigest()
|
||
107 | review["caller_digest"] = hashlib.sha256(canonical(review["fixed_version_document"])).hexdigest()
|
||
| ^
|
||
108 | assert not doc(source, review)["fixed_version"]["matched"]
|
||
|
|
||
|
||
E501 Line too long (101 > 100)
|
||
--> calliope-backend/tests/test_openpose_fixed_document.py:126:101
|
||
|
|
||
124 | review = copy.deepcopy(REVIEW)
|
||
125 | review["fixed_version_document"][key] = "forged"
|
||
126 | review["caller_digest"] = hashlib.sha256(canonical(review["fixed_version_document"])).hexdigest()
|
||
| ^
|
||
127 | assert not doc(review=review)["fixed_version"]["matched"]
|
||
|
|
||
|
||
E501 Line too long (101 > 100)
|
||
--> calliope-backend/tests/test_openpose_fixed_document.py:175:101
|
||
|
|
||
173 | import sys
|
||
174 | code = ("import runpy,sys; from pathlib import Path; ns=runpy.run_path('recompute.py'); "
|
||
175 | "ns['require_packages'].__globals__['REPO']=Path(sys.argv[1]); ns['require_packages']()")
|
||
| ^
|
||
176 | result = subprocess.run([sys.executable, "-c", code, str(tmp_path)], cwd=OUT,
|
||
177 | capture_output=True, text=True)
|
||
|
|
||
|
||
F841 Local variable `dwreg` is assigned to but never used
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:39:5
|
||
|
|
||
37 | dw = ref("dw", "node_wrappers/dwpose.py", 32, 105,
|
||
38 | "DWPose schema、字符串开关、权重来源选择、调用和双出口")
|
||
39 | dwreg = ref("dw", "node_wrappers/dwpose.py", 159, 165, "DWPreprocessor真实注册")
|
||
| ^^^^^
|
||
40 | loader = ref("dw", "__init__.py", 25, 66, "扫描node_wrappers合并注册;失败可缺失节点")
|
||
41 | helper = ref("dw", "utils.py", 62, 120, "默认、范围、逐帧调用和resolution传递")
|
||
|
|
||
help: Remove assignment to unused variable `dwreg`
|
||
|
||
F841 Local variable `loader` is assigned to but never used
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:40:5
|
||
|
|
||
38 | "DWPose schema、字符串开关、权重来源选择、调用和双出口")
|
||
39 | dwreg = ref("dw", "node_wrappers/dwpose.py", 159, 165, "DWPreprocessor真实注册")
|
||
40 | loader = ref("dw", "__init__.py", 25, 66, "扫描node_wrappers合并注册;失败可缺失节点")
|
||
| ^^^^^^
|
||
41 | helper = ref("dw", "utils.py", 62, 120, "默认、范围、逐帧调用和resolution传递")
|
||
42 | detector = ref("dw", "src/custom_controlnet_aux/dwpose/__init__.py", 217, 279,
|
||
|
|
||
help: Remove assignment to unused variable `loader`
|
||
|
||
F841 Local variable `restore` is assigned to but never used
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:82:5
|
||
|
|
||
80 | preview = ref("vhs", "web/js/VHS.core.js", 934, 943,
|
||
81 | "videopreview DOM状态serialize=false;VHS自定义保存仍枚举全部widget")
|
||
82 | restore = ref("frontend", "src/lib/litegraph/src/LGraphNode.ts", 862, 875,
|
||
| ^^^^^^^
|
||
83 | "核心先按序恢复再onConfigure,VHS对象须由插件具名回调恢复")
|
||
84 | persist = ref("frontend", "src/lib/litegraph/src/LGraphNode.ts", 907, 929,
|
||
|
|
||
help: Remove assignment to unused variable `restore`
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:115:88
|
||
|
|
||
113 | "不是视频宽度/总帧数或模型超分。比例取整及原素材尺寸决定实际尺寸,未计算真实输出。",
|
||
114 | [dw, helper, detector, common])
|
||
115 | spec("DWPreprocessor", "bbox_detector", "人体框检测模型引用", "COMBO", "yolox_l.onnx", "文件名枚举",
|
||
| ^^^^
|
||
116 | "None / yolox_l.torchscript.pt / yolox_l.onnx / yolo_nas_l_fp16.onnx / yolo_nas_m_fp16.onnx / yolo_nas_s_fp16.onnx",
|
||
117 | "源yolox_l.onnx选择yzd-v/DWPose来源;det_filename传加载器。缺本地文件时custom_hf_download可进入下载分支,"
|
||
|
|
||
|
||
E501 Line too long (125 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:116:101
|
||
|
|
||
114 | [dw, helper, detector, common])
|
||
115 | spec("DWPreprocessor", "bbox_detector", "人体框检测模型引用", "COMBO", "yolox_l.onnx", "文件名枚举",
|
||
116 | "None / yolox_l.torchscript.pt / yolox_l.onnx / yolo_nas_l_fp16.onnx / yolo_nas_m_fp16.onnx / yolo_nas_s_fp16.onnx",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
117 | "源yolox_l.onnx选择yzd-v/DWPose来源;det_filename传加载器。缺本地文件时custom_hf_download可进入下载分支,"
|
||
118 | "随后依文件类型加载;仅静态说明,不下载或运行。文件名不证明安装/兼容、可下载或显存速度。",
|
||
|
|
||
|
||
E501 Line too long (125 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:120:93
|
||
|
|
||
118 | "随后依文件类型加载;仅静态说明,不下载或运行。文件名不证明安装/兼容、可下载或显存速度。",
|
||
119 | [dw, detector, download])
|
||
120 | spec("DWPreprocessor", "pose_estimator", "姿态估计模型引用", "COMBO", "dw-ll_ucoco_384_bs5.torchscript.pt", "文件名枚举",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
121 | "dw-ll_ucoco_384_bs5.torchscript.pt / dw-ll_ucoco_384.onnx / dw-ll_ucoco.onnx",
|
||
122 | "源TorchScript文件选择hr16/DWPose-TorchScript-BatchSize5。schema默认是此文件,"
|
||
|
|
||
|
||
E501 Line too long (112 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:126:91
|
||
|
|
||
124 | "本轮均未调用。名称bs5不证明本视频每批5帧或目标性能。",
|
||
125 | [dw, detector, download])
|
||
126 | spec("DWPreprocessor", "scale_stick_for_xinsr_cn", "身体骨架线宽缩放开关", "COMBO", "disable", "字符串枚举",
|
||
| ^^^^^^^^^^^^
|
||
127 | "disable / enable;开启时max_side<500倍率1,否则min(2+max_side//1000,7)",
|
||
128 | "源disable,转false传xinsr_stick_scaling。固定draw_bodypose基础stickwidth=4,"
|
||
|
|
||
|
||
E501 Line too long (114 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:131:78
|
||
|
|
||
129 | "关闭倍率1,开启按画布最大边分档;不是图像模型超分或目标安装证明。身体绘制关闭时不能据此保证有身体线条。",
|
||
130 | [dw, detector, drawing])
|
||
131 | spec("VHS_LoadVideo", "video", "输入视频文件引用", "COMBO", "动态input目录文件列表,无固定文件默认", "文件名",
|
||
| ^^^^^^^^^^^^^^
|
||
132 | "目录文件扩展webm/mp4/mkv/gif/mov;目标列表未知",
|
||
133 | "源1月11日-1.mp4保持原文,参考LoadVideoUpload转annotated filepath后加载。未访问此媒体;"
|
||
|
|
||
|
||
E501 Line too long (101 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:164:85
|
||
|
|
||
162 | "具名恢复按实际控件顺序赋值并触发回调,无法只看对象键顺序推断最终控件值。UE7.5.2钩子次序未知。",
|
||
163 | [loadfmt, loadrun, loadcb, kv])
|
||
164 | spec("VHS_VideoCombine", "frame_rate", "合成帧率保存缓存(外线覆盖)", "FLOAT/INT", "8", "帧/秒",
|
||
| ^
|
||
165 | "schema min1、step1,无显式max;源int24并有link12",
|
||
166 | "保存24与预览24均不是最终FPS。物理link12从Info9槽0接Combine4输入槽4 frame_rate;"
|
||
|
|
||
|
||
E501 Line too long (103 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:170:87
|
||
|
|
||
168 | "固定前端先控件后写解析外线覆盖同名输入;仅在该参考契约成立范围解释,目标UE/媒体/最终FPS未知。",
|
||
169 | [combine, info, loadrun, execute], "linked_saved")
|
||
170 | spec("VHS_VideoCombine", "loop_count", "视频循环次数设置", "INT", "0", "循环参数", "0~100,step1",
|
||
| ^^^
|
||
171 | "源0走空loop_args,不添加ffmpeg loop过滤器;>0按loop/size=num_frames构造。"
|
||
172 | "这是当前video格式分支;不能套GIF的无限循环解释或保证播放器循环行为。", [combine, combine_run])
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:172:71
|
||
|
|
||
170 | spec("VHS_VideoCombine", "loop_count", "视频循环次数设置", "INT", "0", "循环参数", "0~100,step1",
|
||
171 | "源0走空loop_args,不添加ffmpeg loop过滤器;>0按loop/size=num_frames构造。"
|
||
172 | "这是当前video格式分支;不能套GIF的无限循环解释或保证播放器循环行为。", [combine, combine_run])
|
||
| ^^^^
|
||
173 | spec("VHS_VideoCombine", "filename_prefix", "保存文件名前缀", "STRING", "AnimateDiff", "相对前缀字符串",
|
||
174 | "由folder_paths输出目录规则解析;真实目录未知",
|
||
|
|
||
|
||
E501 Line too long (108 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:173:90
|
||
|
|
||
171 | "源0走空loop_args,不添加ffmpeg loop过滤器;>0按loop/size=num_frames构造。"
|
||
172 | "这是当前video格式分支;不能套GIF的无限循环解释或保证播放器循环行为。", [combine, combine_run])
|
||
173 | spec("VHS_VideoCombine", "filename_prefix", "保存文件名前缀", "STRING", "AnimateDiff", "相对前缀字符串",
|
||
| ^^^^^^^^
|
||
174 | "由folder_paths输出目录规则解析;真实目录未知",
|
||
175 | "源AnimateDiff用于输出名称及计数,save_output=true选择输出目录;"
|
||
|
|
||
|
||
E501 Line too long (119 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:177:86
|
||
|
|
||
175 | "源AnimateDiff用于输出名称及计数,save_output=true选择输出目录;"
|
||
176 | "不等于预览对象E盘历史fullpath已可访问,不证明任何文件已生成。", [combine, combine_run])
|
||
177 | spec("VHS_VideoCombine", "format", "视频封装和编码预设", "COMBO", "schema首项image/gif,无显式default", "预设选择",
|
||
| ^^^^^^^^^^^^^^^^^^^
|
||
178 | "当前video/h264-mp4;动态格式目录和运行编码器可用性未知",
|
||
179 | "固定包h264-mp4.json提供mp4扩展、libx264、bt709及动态pix_fmt/crf/save_metadata/trim_to_audio。"
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:184:71
|
||
|
|
||
182 | spec("VHS_VideoCombine", "pix_fmt", "输出像素格式", "COMBO", "首项yuv420p", "像素格式枚举",
|
||
183 | "yuv420p / yuv420p10le",
|
||
184 | "源yuv420p传ffmpeg -pix_fmt;只解释固定h264-mp4定义,不保证目标编码器可用或实际成片色彩效果。",
|
||
| ^^^^
|
||
185 | [h264, formats, metadata, combine_run, dyn])
|
||
186 | spec("VHS_VideoCombine", "crf", "H264恒定质量参数", "INT", "19", "CRF值",
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:199:92
|
||
|
|
||
197 | "本图Combine.audio未接,Load音频出口也未接;false不能证明有音频,更不能称保留原音轨。",
|
||
198 | [h264, combine_run])
|
||
199 | spec("VHS_VideoCombine", "pingpong", "往返帧序列开关", "BOOLEAN", "false", "布尔", "true / false",
|
||
| ^^
|
||
200 | "源false不调用to_pingpong;true时改帧序列并与meta_batch有不兼容提示。不是循环次数或FPS。",
|
||
201 | [combine, combine_run])
|
||
|
|
||
|
||
E501 Line too long (102 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:202:93
|
||
|
|
||
200 | "源false不调用to_pingpong;true时改帧序列并与meta_batch有不兼容提示。不是循环次数或FPS。",
|
||
201 | [combine, combine_run])
|
||
202 | spec("VHS_VideoCombine", "save_output", "保存目录选择", "BOOLEAN", "true", "布尔", "true / false",
|
||
| ^^
|
||
203 | "源true选择folder_paths输出目录,false选临时目录;不等于当前文件已保存。"
|
||
204 | "真实目录配置/权限/编码器/文件/时长与姿态视频效果均未知。", [combine, combine_run])
|
||
|
|
||
|
||
E501 Line too long (109 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:214:81
|
||
|
|
||
212 | )
|
||
213 | for cls in ["VHS_LoadVideo", "VHS_VideoCombine"]:
|
||
214 | spec(cls, "videopreview", "历史视频预览缓存(非运行参数)", "OBJECT", "无后端schema默认", "前端状态",
|
||
| ^^^^^^^^
|
||
215 | "对象及嵌套JSON类型原样保留,不递归计作新增运行参数", preview_note,
|
||
216 | [preview, kv, persist, execute], "frontend_history")
|
||
|
|
||
|
||
E501 Line too long (137 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:219:101
|
||
|
|
||
218 | …
|
||
219 | …_face", "resolution", "bbox_detector", "pose_estimator", "scale_stick_for_xinsr_cn"]
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
220 | …
|
||
221 | …
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:233:101
|
||
|
|
||
231 | for j, (name, value) in enumerate(pairs):
|
||
232 | fields.append({**specs[n["type"], name], "node_id": str(n["id"]),
|
||
233 | "definition_node_id": str(n["id"]), "class_type": n["type"], "scope": "root",
|
||
| ^^^^
|
||
234 | "pointer": f"/nodes/{i}/widgets_values/{j if isinstance(values, list) else name}",
|
||
235 | "value": value, "json_type": type(value).__name__,
|
||
|
|
||
|
||
E501 Line too long (109 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:234:101
|
||
|
|
||
232 | fields.append({**specs[n["type"], name], "node_id": str(n["id"]),
|
||
233 | "definition_node_id": str(n["id"]), "class_type": n["type"], "scope": "root",
|
||
234 | "pointer": f"/nodes/{i}/widgets_values/{j if isinstance(values, list) else name}",
|
||
| ^^^^^^^^^
|
||
235 | "value": value, "json_type": type(value).__name__,
|
||
236 | "execution_note": f"源mode={n['mode']},声明{n['properties']['cnr_id']}@{n['properties']['ver']};"
|
||
|
|
||
|
||
E501 Line too long (126 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:236:97
|
||
|
|
||
234 | "pointer": f"/nodes/{i}/widgets_values/{j if isinstance(values, list) else name}",
|
||
235 | "value": value, "json_type": type(value).__name__,
|
||
236 | "execution_note": f"源mode={n['mode']},声明{n['properties']['cnr_id']}@{n['properties']['ver']};"
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
237 | "仅静态参考,真实安装、UE7.5.2钩子顺序及效果未知,未生成prompt。"})
|
||
238 | assert len(fields) == 27 and len(comments) == 1
|
||
|
|
||
|
||
E501 Line too long (149 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:245:87
|
||
|
|
||
243 | …
|
||
244 | … 无子图。27顶层保存位置=7个DW数组项+9个Load对象键+11个Combine对象键,其中25标量、2个预览对象;另1源注释。嵌套叶子不重复计数。",
|
||
245 | …→Combine4.images槽0。DW的POSE_KEYPOINT槽1未接;不据标题当核心SDPose或已输出关键点文件。",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
246 | …nfo9槽0→Combine4.frame_rate输入槽4。固定包Info槽0取loaded_fps,依Load的target_frame_time及select_every_nth构造;中文FPS🟦仅源显示名…
|
||
247 | … 保存位置;不是缺键/null/[]。其余四出口帧数/时长/宽度/高度未接。Load帧数/音频出口未接、VAE/meta_batch未接,Combine.audio/meta_batch/…
|
||
|
|
||
|
||
E501 Line too long (266 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:246:87
|
||
|
|
||
244 | …个Load对象键+11个Combine对象键,其中25标量、2个预览对象;另1源注释。嵌套叶子不重复计数。",
|
||
245 | …NT槽1未接;不据标题当核心SDPose或已输出关键点文件。",
|
||
246 | … 定包Info槽0取loaded_fps,依Load的target_frame_time及select_every_nth构造;中文FPS🟦仅源显示名,不能单独证明语义。保存24与预览24均不是最终FPS,force_rate=0不证明原FPS。",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
247 | … 帧数/时长/宽度/高度未接。Load帧数/音频出口未接、VAE/meta_batch未接,Combine.audio/meta_batch/vae也未接;不能称保留原音轨。",
|
||
248 | …processor;不是case01 AIO e8b689a。分辨率在本提交检测后缩放画布,三个开关控制绘制而非保证跳过检测。模型文件名不证明安装,静态缺文件下载/加载分支未调用。",
|
||
|
|
||
|
||
E501 Line too long (250 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:248:91
|
||
|
|
||
246 | … 定包Info槽0取loaded_fps,依Load的target_frame_time及select_every_nth构造;中文FPS🟦仅源显示名,不能单独证明语义。保存24与预览24均不是最终FPS,force_rate=0不证…
|
||
247 | … 口帧数/时长/宽度/高度未接。Load帧数/音频出口未接、VAE/meta_batch未接,Combine.audio/meta_batch/vae也未接;不能称保留原音轨。",
|
||
248 | …eprocessor;不是case01 AIO e8b689a。分辨率在本提交检测后缩放画布,三个开关控制绘制而非保证跳过检测。模型文件名不证明安装,静态缺文件下载/加载分支未调用。",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
249 | … 节不等于提交绑定。三类VHS及DW均为插件,不假借core来源,也不把包来源当目标安装证明。",
|
||
250 | …Configure,VHS随后具名恢复并回调;核心先数组保存再onSerialize,VHS覆盖具名对象。format回调可重建控件/改reset条件,不能按保存对象键顺序推断最终输入。",
|
||
|
|
||
|
||
E501 Line too long (181 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:249:69
|
||
|
|
||
247 | … 键/null/[]。其余四出口帧数/时长/宽度/高度未接。Load帧数/音频出口未接、VAE/meta_batch未接,Combine.audio/meta_batch/vae也未接;不能…
|
||
248 | …eprocessor→DWPose_Preprocessor;不是case01 AIO e8b689a。分辨率在本提交检测后缩放画布,三个开关控制绘制而非保证跳过检测。模型文件名…
|
||
249 | …it commit字段,包同字节不等于提交绑定。三类VHS及DW均为插件,不假借core来源,也不把包来源当目标安装证明。",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
250 | …。核心先按序恢复再onConfigure,VHS随后具名恢复并回调;核心先数组保存再onSerialize,VHS覆盖具名对象。format回调可重建控件/改reset条…
|
||
251 | …table和extra空ue_links不证明无改写;真实安装、钩子次序/动态成员及最终恢复未知。固定前端先控件后连线只在参考契约成立范围说明覆盖,不…
|
||
|
|
||
|
||
E501 Line too long (213 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:252:73
|
||
|
|
||
250 | … onConfigure,VHS随后具名恢复并回调;核心先数组保存再onSerialize,VHS覆盖具名对象。format回调可重建控件/改reset条件,不能按保存对象…
|
||
251 | …_links不证明无改写;真实安装、钩子次序/动态成员及最终恢复未知。固定前端先控件后连线只在参考契约成立范围说明覆盖,不导入执行上游或创…
|
||
252 | … 件/视频,不请求api/view或媒体URL,不把缓存当实际产物/最终FPS。filename_prefix=AnimateDiff是保存前缀,区别于旧绝对路径。",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
253 | … 合法。实际ffmpeg/编码器/目录/文件、音轨存在性、姿态效果、速度/显存全部未知。未实跑、未定稿、未启用,不增加可靠转换或候选。",
|
||
254 | …
|
||
|
|
||
|
||
E501 Line too long (159 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:256:96
|
||
|
|
||
254 | …
|
||
255 | …r e in source["links"]]
|
||
256 | …=" + json.dumps(n["properties"]["ue_properties"], ensure_ascii=False) for n in source["nodes"]]
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
257 | …through existing flow details.
|
||
258 | …
|
||
|
|
||
|
||
E501 Line too long (169 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:266:86
|
||
|
|
||
264 | …
|
||
265 | …
|
||
266 | …name__}]=" + json.dumps(v, ensure_ascii=False) for p, v in leaves(field["value"], field["pointer"])]
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
267 | …
|
||
268 | …source_sha256=hashlib.sha256(raw).hexdigest(),
|
||
|
|
||
|
||
E501 Line too long (115 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:268:101
|
||
|
|
||
266 | flow += [f"历史预览嵌套(不另计保存位置){p} [{type(v).__name__}]=" + json.dumps(v, ensure_ascii=False) for p, v in leave…
|
||
267 | return dict(
|
||
268 | source_path=path, source_sha1=hashlib.sha1(raw).hexdigest(), source_sha256=hashlib.sha256(raw).hexdigest(),
|
||
| ^^^^^^^^^^^^^^^
|
||
269 | canonical_sha256=hashlib.sha256(canonical(source)).hexdigest(),
|
||
270 | notice="固定版本参考说明;历史预览不是执行结果,环境/UE和实际效果未核对,转换仍关闭。",
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:278:101
|
||
|
|
||
276 | source_nodes=5, physical_edges=4, linked_saved_fields=1, frontend_only=2,
|
||
277 | final_scalars=0, final_prompt_constructed=False),
|
||
278 | fields=fields, sources=refs, comments=comments, flow=flow, flow_evidence=list(range(len(refs))),
|
||
| ^^^^
|
||
279 | zero_saved_nodes=[dict(node_id="9", class_type="VHS_VideoInfoLoaded", evidence=[info, registry], effect=flow[3])],
|
||
280 | steps=[overview, "先看视频引用、姿态三个绘制开关和模型文件名;素材、模型、插件均待核对,不读取或执行。",
|
||
|
|
||
|
||
E501 Line too long (122 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:279:101
|
||
|
|
||
277 | final_scalars=0, final_prompt_constructed=False),
|
||
278 | fields=fields, sources=refs, comments=comments, flow=flow, flow_evidence=list(range(len(refs))),
|
||
279 | zero_saved_nodes=[dict(node_id="9", class_type="VHS_VideoInfoLoaded", evidence=[info, registry], effect=flow[3])],
|
||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||
280 | steps=[overview, "先看视频引用、姿态三个绘制开关和模型文件名;素材、模型、插件均待核对,不读取或执行。",
|
||
281 | "核对输出分辨率、加载尺寸/抽帧/上限、帧率外线与编码预设;两预览对象只读历史文本,不能当运行参数。",
|
||
|
|
||
|
||
E501 Line too long (112 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/build_definition.py:280:64
|
||
|
|
||
278 | fields=fields, sources=refs, comments=comments, flow=flow, flow_evidence=list(range(len(refs))),
|
||
279 | zero_saved_nodes=[dict(node_id="9", class_type="VHS_VideoInfoLoaded", evidence=[info, registry], effect=flow[3])],
|
||
280 | steps=[overview, "先看视频引用、姿态三个绘制开关和模型文件名;素材、模型、插件均待核对,不读取或执行。",
|
||
| ^^^^^^^^^^^^
|
||
281 | "核对输出分辨率、加载尺寸/抽帧/上限、帧率外线与编码预设;两预览对象只读历史文本,不能当运行参数。",
|
||
282 | "保持停用、未检查、未定稿、未实跑;实际环境、UE、ffmpeg和效果待确认,不生成prompt或访问媒体。"],
|
||
|
|
||
|
||
E501 Line too long (341 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:12:101
|
||
|
|
||
10 | …
|
||
11 | …
|
||
12 | …ICENSE.txt", "__init__.py", "node_wrappers/dwpose.py", "utils.py", "src/custom_controlnet_aux/dwpose/__init__.py", "src/custom_controlnet_aux/dwpose/wholebody.py", "src/custom_controlnet_aux/dwpose/util.py", "src/custom_controlnet_aux/util.py"]),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
13 | …GraphNode.ts", "src/utils/executionUtil.ts", "src/extensions/core/noteNode.ts"]),
|
||
14 | …
|
||
|
|
||
|
||
E501 Line too long (176 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:13:101
|
||
|
|
||
11 | …
|
||
12 | …b491e13719b72fcc0", ["LICENSE.txt", "__init__.py", "node_wrappers/dwpose.py", "utils.py", "src/custom_controlnet_aux/dwpose/__init__.…
|
||
13 | …src/lib/litegraph/src/LGraphNode.ts", "src/utils/executionUtil.ts", "src/extensions/core/noteNode.ts"]),
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
14 | …
|
||
15 | …es.py", "videohelpersuite/load_video_nodes.py", "videohelpersuite/utils.py", "video_formats/h264-mp4.json", "web/js/VHS.core.js", "we…
|
||
|
|
||
|
||
E501 Line too long (224 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:15:101
|
||
|
|
||
13 | …GraphNode.ts", "src/utils/executionUtil.ts", "src/extensions/core/noteNode.ts"]),
|
||
14 | …
|
||
15 | …te/load_video_nodes.py", "videohelpersuite/utils.py", "video_formats/h264-mp4.json", "web/js/VHS.core.js", "web/js/videoinfo.js"]
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
||
E501 Line too long (125 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:19:101
|
||
|
|
||
18 | def get(url):
|
||
19 | return urllib.request.urlopen(urllib.request.Request(url, headers={"User-Agent": "static-reference"}), timeout=30).read()
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
||
E501 Line too long (139 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:27:101
|
||
|
|
||
25 | …:
|
||
26 | …
|
||
27 | …-remote", "https://github.com/" + repo + ".git", "refs/tags/" + revision], timeout=45)
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
28 | …
|
||
29 | …w)
|
||
|
|
||
|
||
E501 Line too long (101 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:36:101
|
||
|
|
||
34 | assert b"diff --git" in raw
|
||
35 | (OUT / (key + "-commit.patch")).write_bytes(raw)
|
||
36 | identities.append(dict(repo=repo, id=key, revision=revision, commit=commit, installed=False))
|
||
| ^
|
||
37 | for file in files:
|
||
38 | url = f"https://raw.githubusercontent.com/{repo}/{commit}/{file}"
|
||
|
|
||
|
||
E501 Line too long (133 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:42:101
|
||
|
|
||
40 | local = key + "__" + file.replace("/", "__")
|
||
41 | (OUT / local).write_bytes(raw)
|
||
42 | sources.append(dict(id=key, file=file, local_file=local, url=url, commit=commit, sha256=hashlib.sha256(raw).hexdigest()))
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
43 | url = "https://api.comfy.org/nodes/comfyui-videohelpersuite/versions/1.7.9"
|
||
44 | raw = get(url)
|
||
|
|
||
|
||
E501 Line too long (123 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:51:101
|
||
|
|
||
49 | sha = hashlib.sha256(raw).hexdigest()
|
||
50 | with zipfile.ZipFile(io.BytesIO(raw)) as z:
|
||
51 | members = [dict(file=n, sha256=hashlib.sha256(z.read(n)).hexdigest()) for n in z.namelist() if not n.endswith("/")]
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||
52 | for file in VHS:
|
||
53 | raw = z.read(file)
|
||
|
|
||
|
||
E501 Line too long (199 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:56:101
|
||
|
|
||
54 | …
|
||
55 | …
|
||
56 | …"downloadUrl"], commit="发布包SHA256:" + sha, sha256=hashlib.sha256(raw).hexdigest(), git_commit_binding="unknown"))
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
57 | …adUrl"], sha256=sha, members=members, git_commit_binding="unknown", note="发布包同字节不等于提交绑定"), ensure_ascii=False, indent=2)…
|
||
58 | …t_binding="unknown", installed=False))
|
||
|
|
||
|
||
E501 Line too long (224 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:57:101
|
||
|
|
||
55 | …
|
||
56 | …"], commit="发布包SHA256:" + sha, sha256=hashlib.sha256(raw).hexdigest(), git_commit_binding="unknown"))
|
||
57 | …256=sha, members=members, git_commit_binding="unknown", note="发布包同字节不等于提交绑定"), ensure_ascii=False, indent=2) + "\n")
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
58 | …nknown", installed=False))
|
||
59 | …ent=2) + "\n")
|
||
|
|
||
|
||
E501 Line too long (121 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:58:101
|
||
|
|
||
56 | sources.append(dict(id="vhs", file=file, local_file=local, url=release["downloadUrl"], commit="发布包SHA256:" + sha, sha25…
|
||
57 | (OUT / "vhs-package-index.json").write_text(json.dumps(dict(url=release["downloadUrl"], sha256=sha, members=members, git_commit_bi…
|
||
58 | identities.append(dict(id="vhs", version="1.7.9", package_sha256=sha, git_commit_binding="unknown", installed=False))
|
||
| ^^^^^^^^^^^^^^^^^^^^^
|
||
59 | (OUT / "sources.json").write_text(json.dumps(dict(sources=sources), ensure_ascii=False, indent=2) + "\n")
|
||
60 | (OUT / "identity.json").write_text(json.dumps(identities, ensure_ascii=False, indent=2) + "\n")
|
||
|
|
||
|
||
E501 Line too long (109 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/fetch_sources.py:59:101
|
||
|
|
||
57 | (OUT / "vhs-package-index.json").write_text(json.dumps(dict(url=release["downloadUrl"], sha256=sha, members=members, git_commit_bi…
|
||
58 | identities.append(dict(id="vhs", version="1.7.9", package_sha256=sha, git_commit_binding="unknown", installed=False))
|
||
59 | (OUT / "sources.json").write_text(json.dumps(dict(sources=sources), ensure_ascii=False, indent=2) + "\n")
|
||
| ^^^^^^^^^
|
||
60 | (OUT / "identity.json").write_text(json.dumps(identities, ensure_ascii=False, indent=2) + "\n")
|
||
61 | print("Fixed DW, frontend and VHS package source text only")
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/recompute.py:64:101
|
||
|
|
||
62 | assert release["version"] == "1.7.9" and release["downloadUrl"] == index["url"]
|
||
63 | with zipfile.ZipFile(io.BytesIO(archive)) as z:
|
||
64 | assert [n for n in z.namelist() if not n.endswith("/")] == [e["file"] for e in index["members"]]
|
||
| ^^^^
|
||
65 | for e in index["members"]:
|
||
66 | assert hashlib.sha256(z.read(e["file"])).hexdigest() == e["sha256"]
|
||
|
|
||
|
||
E501 Line too long (103 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/recompute.py:70:101
|
||
|
|
||
68 | if e["id"] == "vhs":
|
||
69 | assert z.read(e["file"]) == (reference / e["local_file"]).read_bytes()
|
||
70 | write("source-check.json", dict(fixed_originals=len(source_records), members=len(index["members"]),
|
||
| ^^^
|
||
71 | package_sha256=index["sha256"], frontend_tag=tag, checked_sha256=True,
|
||
72 | git_commit_binding="unknown", imported_upstream=False))
|
||
|
|
||
|
||
E501 Line too long (107 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/recompute.py:85:101
|
||
|
|
||
83 | assert by_id[target]["inputs"][inp]["link"] == eid
|
||
84 | assert by_id[target]["inputs"][inp]["type"] == typ
|
||
85 | write("source-graph.json", dict(source_path=PATHS[0], raw_sha256=hashlib.sha256(graph_raw).hexdigest(),
|
||
| ^^^^^^^
|
||
86 | canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(), nodes=nodes, links=graph["links"],
|
||
87 | no_subgraphs=True, saved_fields=27, scalar_positions=25, history_objects=2, notes=1,
|
||
|
|
||
|
||
E501 Line too long (107 > 100)
|
||
--> docs/hel-892/openpose-document-evidence/recompute.py:86:101
|
||
|
|
||
84 | assert by_id[target]["inputs"][inp]["type"] == typ
|
||
85 | write("source-graph.json", dict(source_path=PATHS[0], raw_sha256=hashlib.sha256(graph_raw).hexdigest(),
|
||
86 | canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(), nodes=nodes, links=graph["links"],
|
||
| ^^^^^^^
|
||
87 | no_subgraphs=True, saved_fields=27, scalar_positions=25, history_objects=2, notes=1,
|
||
88 | extra_sha256=hashlib.sha256(canonical(graph["extra"])).hexdigest()))
|
||
|
|
||
|
||
Found 52 errors.
|
||
No fixes available (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
|