Files
aigc-home/docs/hel-892/storyboard-document-evidence/lint-second.txt
T

56 lines
3.9 KiB
Plaintext

F841 Local variable `info` is assigned to but never used
--> docs/hel-892/storyboard-document-evidence/build_definition.py:66:5
|
64 | fmt = ref("vhs", "video_formats/h264-mp4.json", 1, 15, "H264/CRF/像素及音频模板")
65 | meta = ref("vhs", "videohelpersuite/nodes.py", 48, 165, "格式模板、元数据参数条件")
66 | info = ref("vhs", "videohelpersuite/nodes.py", 940, 970, "VideoInfoLoaded五出口与loaded_键")
| ^^^^
67 | reg = ref("vhs", "videohelpersuite/nodes.py", 1020, 1050, "VHS准确四类节点注册")
68 | js = ref("vhs", "web/js/VHS.core.js", 41, 168, "同包保存恢复;不证明未知宿主及UE次序")
|
help: Remove assignment to unused variable `info`
E501 Line too long (123 > 100)
--> docs/hel-892/storyboard-document-evidence/build_definition.py:462:65
|
460 | "图片输出目录",
461 | "output",
462 | "保存空字符串;准确实现只有绝对路径走指定目录,否则走ComfyUI output及前缀路径。不把空串补成默认,不访问目录。",
| ^^^^^^^^^^^^^^^^^^^^^^
463 | ),
464 | (
|
E501 Line too long (124 > 100)
--> docs/hel-892/storyboard-document-evidence/build_definition.py:468:76
|
466 | "标注扩展名",
467 | ".txt",
468 | "保存.txt但caption未接。准确实现仅caption is not None才写标注;不能声称本图输出.txt。PNG仍按图像保存路径处理。",
| ^^^^^^^^^^^^^^^^^^^^^^^^
469 | ),
470 | ]:
|
E501 Line too long (101 > 100)
--> docs/hel-892/storyboard-document-evidence/fetch_additional.py:32:101
|
30 | n for n in z.namelist() if any(n == w or n.endswith("/" + w) for w in words)
31 | ]
32 | # __init__ only package root and py/nodes registration relevant to chosen implementation.
| ^
33 | selected = [n for n in selected if n.count("/") < 3]
34 | (REF / (key + "-package-index.json")).write_text(
|
Found 4 errors.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
Traceback (most recent call last):
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/check_code.py", line 40, in <module>
main()
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/check_code.py", line 18, in main
subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['uv', 'run', '--project', 'calliope-backend', '--offline', 'ruff', 'check', '--config', 'calliope-backend/pyproject.toml', 'calliope-backend/src/calliope/comfyui/fixed_document.py', 'calliope-backend/tests/test_storyboard_fixed_document.py', 'e2e/run-storyboard-document.py', 'docs/hel-892/storyboard-document-evidence/build_definition.py', 'docs/hel-892/storyboard-document-evidence/check_code.py', 'docs/hel-892/storyboard-document-evidence/fetch_additional.py', 'docs/hel-892/storyboard-document-evidence/fetch_helpers.py', 'docs/hel-892/storyboard-document-evidence/fetch_sources.py', 'docs/hel-892/storyboard-document-evidence/rebuild.py', 'docs/hel-892/storyboard-document-evidence/recompute.py', 'docs/hel-892/storyboard-document-evidence/render_report.py', 'docs/hel-892/storyboard-document-evidence/repeat.py', 'docs/hel-892/storyboard-document-evidence/request_counts.py', 'docs/hel-892/storyboard-document-evidence/verify_sources.py']' returned non-zero exit status 1.