Files
aigc-home/docs/hel-892/concat-document-evidence/lint-initial.txt
T

157 lines
7.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/concat-document-evidence/build_definition.py:3:1
|
1 | """One source-bound editorial addition. Never imports upstream code or reads media."""
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import json
6 | | from pathlib import Path
| |________________________^
7 |
8 | REPO = Path(__file__).resolve().parents[3]
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
|
F841 Local variable `info` is assigned to but never used
--> docs/hel-892/concat-document-evidence/build_definition.py:76:5
|
74 | "视频编码、补边、循环、音频波形混流和中间文件条件",
75 | )
76 | info = ref(
| ^^^^
77 | "vhs",
78 | "videohelpersuite/nodes.py",
|
help: Remove assignment to unused variable `info`
F841 Local variable `vreg` is assigned to but never used
--> docs/hel-892/concat-document-evidence/build_definition.py:91:5
|
89 | fmtjs = ref("vhs", "web/js/VHS.core.js", 1222, 1282, "格式改变时额外控件重建")
90 | utils = ref("vhs", "videohelpersuite/utils.py", 20, 56, "BIGMAX、DIMMAX、floatOrInt")
91 | vreg = ref("vhs", "videohelpersuite/nodes.py", 1023, 1050, "VHS加载、合成和视频信息注册")
| ^^^^
92 | concat = ref(
93 | "kj", "nodes/image_nodes.py", 2512, 2561, "ImageConcatMulti自身schema与循环拼接实现"
|
help: Remove assignment to unused variable `vreg`
F841 Local variable `corepreview` is assigned to but never used
--> docs/hel-892/concat-document-evidence/build_definition.py:101:5
|
99 | kjreg = ref("kj", "__init__.py", 1, 180, "KJ注册与类引用")
100 | coreload = ref("core", "nodes.py", 1698, 1775, "LoadImage schema、EXIF、批次、RGB和MASK输出")
101 | corepreview = ref(
| ^^^^^^^^^^^
102 | "core", "nodes.py", 1625, 1697, "PreviewImage继承保存实现,临时PNG/UI结果,无返回类型"
103 | )
|
help: Remove assignment to unused variable `corepreview`
E501 Line too long (124 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:280:76
|
278 | "布尔",
279 | "true/false;视频元数据分支",
280 | "保存true在视频元数据条件分支写入信息;独立首帧workflow PNG由VHS_MetadataImage默认true控制。两者不是同一开关。",
| ^^^^^^^^^^^^^^^^^^^^^^^^
281 | ),
282 | (
|
E501 Line too long (137 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:320:78
|
318 | …
319 | … 数",
320 | …h/workflow PNG/缓存FPS都不是当前产物或可达证明。纯文本显示,不请求api/view或媒体。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
321 | …
322 | …
|
E501 Line too long (160 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:363:76
|
361 | …
362 | …
363 | … IMAGE输入;缺本图前端版本/UE恢复证据,不能确定第4保存槽最终身份或恢复效果,不作为执行参数。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
364 | …
365 | …
|
E501 Line too long (138 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:423:72
|
421 | … 行。"
422 | …
423 | … 于无影响,身份/次序/动态选项未知。位置数组只按本版schema解释,不是最终prompt证明。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
424 | …
425 | …
|
E501 Line too long (316 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:427:62
|
425 | …
426 | …
427 | … 动路径为视频6和8→拼接9→合成10:素材6跳过53、上限62,素材8跳过55、上限64,起点和上限不同。播放帧率由素材6的信息覆盖保存8,音频来自素材8,不能保证跨素材同步。三个预览对象仅为历史缓存;未实跑、目标环境未知、转换保持关闭。"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
428 | …
429 | …
|
E501 Line too long (149 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:433:79
|
431 | … 接匹配第一幅宽,按第二幅比例计算高度;批次不等时短批次末帧重复到长批次,不能称自动时间对齐。null槽仅为按钮候选,前端身份未知。",
432 | … 率未知。各自skip/cap不同,不推断原片同长、同时起始、同帧率或输出帧数。",
433 | …0.frame_rate,覆盖保存8。11其余四输出未接;缓存30.000001657458657不是实际FPS或产物保证。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
434 | … 材6。VHS按本加载器skip×target_frame_time为音频起点、cap×抽帧后frame_time为时长参数,不是跨素材共同配音或同步证明。",
435 | … pingpong=false不追加往返,save_metadata=true。save_output=true选择output而非temp;实际运行可能写独立首帧PNG、无声视频和混流文件,…
|
E501 Line too long (105 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:443:92
|
441 | flow += ["源物理边:" + json.dumps(e, ensure_ascii=False) for e in graph["links"]]
442 | flow += [
443 | f"节点{n['id']} {n['type']} mode={n['mode']};保存位置={len(n['widgets_values'])};原properties="
| ^^^^^
444 | + json.dumps(n["properties"], ensure_ascii=False)
445 | for n in graph["nodes"]
|
E501 Line too long (124 > 100)
--> docs/hel-892/concat-document-evidence/build_definition.py:450:95
|
448 | "VHS声明1.7.9,使用官方registry准确发布包SHA256:ac63991d8b237afe5b2cd2b287a14b4a4d40ff203c0f2ee9d5fe61059f57cdf8;完整45成员…
449 | "ImageConcatMulti4/9按KJ精确提交50a0837f9aea602b184bbf6dbabf66ed2c7a1d22注册/schema/实现/JS/许可。",
450 | "LoadImage1/2和PreviewImage5按官方core v0.12.3→cb459573c8fa025bbf9ecf312f6af376d659f567固定注册/schema/实现/许可。",
| ^^^^^^^^^^^^^^^^^^^^^^^
451 | "无frontendVersion;目标安装/UE身份和次序/动态控件恢复未知,固定源码不是运行或目标安装证明。",
452 | ]
|
E501 Line too long (156 > 100)
--> docs/hel-892/concat-document-evidence/recompute.py:359:101
|
357 | …
358 | …
359 | …back1, edits1/29cols, fresh155, 1217/3660/294, 21 definitions, frozen boundaries, wheel/sdist"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
360 | …
|
Found 13 errors.
[*] 1 fixable with the `--fix` option (3 hidden fixes can be enabled with the `--unsafe-fixes` option).