Files
aigc-home/docs/hel-892/zimage-generala-document-evidence/ruff-initial.txt
T
2026-10-31 18:42:45 +08:00

178 lines
5.3 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.
E501 Line too long (114 > 100)
--> docs/hel-892/zimage-generala-document-evidence/build_definition.py:440:80
|
438 | for (nid, name), (default, limits) in schemas.items():
439 | flow.append(
440 | f"节点{nid}准确具名schema {name}:default={default};{limits}。仅接口参考,不补缺保存或认证运行恢复。"
| ^^^^^^^^^^^^^
441 | )
442 | for pre, ptr, sg in scopes:
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-generala-document-evidence/rebuild.py:3:1
|
1 | "Offline batch evidence tooling; no upstream execution."
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import json
6 | | import subprocess
7 | | from build_definition import OUT, PATHS, REPO, build, canonical
| |_______________________________________________________________^
8 |
9 | BASE = "d3447f2e6600c515d712127d8cab01ecae72bf48"
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
6 | import json
7 | import subprocess
8 +
9 | from build_definition import OUT, PATHS, REPO, build, canonical
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-generala-document-evidence/recompute.py:3:1
|
1 | "Offline batch evidence tooling; no upstream execution."
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import io
6 | | import json
7 | | import os
8 | | import sqlite3
9 | | import subprocess
10 | | import sys
11 | | import tarfile
12 | | import tempfile
13 | | import zipfile
14 | | from pathlib import Path
15 | | from build_definition import OUT, PATHS, REPO, canonical
16 | | from rebuild import BASE, RESOURCE, build_all
| |_____________________________________________^
17 |
18 | BASE = os.environ.get("TTS_IMPORT_BASE", BASE)
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
--------------------------------------------------------------------------------
15 | from pathlib import Path
16 +
17 | from build_definition import OUT, PATHS, REPO, canonical
|
E501 Line too long (156 > 100)
--> docs/hel-892/zimage-generala-document-evidence/recompute.py:351:101
|
349 | …
350 | …
351 | …back1, edits1/29cols, fresh155, 1217/3660/294, 75 definitions, frozen boundaries, wheel/sdist"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
352 | …
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-generala-document-evidence/render_report.py:3:1
|
1 | "Offline batch evidence tooling; no upstream execution."
2 |
3 | / from __future__ import annotations
4 | | import hashlib
5 | | import json
6 | | from pathlib import Path
| |________________________^
7 |
8 | OUT = Path(__file__).resolve().parent
|
help: Organize imports
|
3 | from __future__ import annotations
4 +
5 | import hashlib
|
E501 Line too long (147 > 100)
--> docs/hel-892/zimage-generala-document-evidence/render_report.py:81:97
|
79 | …
80 | …
81 | …e['lines'][0]}~{e['lines'][1]}行;commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82 | …
83 | … f["value"]:
|
E501 Line too long (140 > 100)
--> docs/hel-892/zimage-generala-document-evidence/render_report.py:112:94
|
110 | … e["sha256"]
111 | …
112 | …'lines'][0]}~{e['lines'][1]}行;提交{e['commit']};SHA256 {e['sha256']};{e['url']}",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113 | …
114 | …
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-generala-document-evidence/repeat.py:3:1
|
1 | "Compare deterministic definitions and rendered artifacts."
2 |
3 | / import hashlib
4 | | import json
5 | | from build_definition import OUT, REPO, canonical
6 | | from rebuild import RESOURCE, build_all
7 | | from render_report import main as render
| |________________________________________^
help: Organize imports
|
4 | import json
5 +
6 | from build_definition import OUT, REPO, canonical
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-generala-document-evidence/source_closure.py:3:1
|
1 | "List source texts and their identity/permission evidence, without self hashing."
2 |
3 | / import hashlib
4 | | import json
5 | | from build_definition import OUT, REF, REPO
| |___________________________________________^
help: Organize imports
|
4 | import json
5 +
6 | from build_definition import OUT, REF, REPO
|
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/zimage-generala-document-evidence/verify_sources.py:3:1
|
1 | "Verify exact text, Git/package provenance and source graph without upstream imports."
2 |
3 | / import ast
4 | | import hashlib
5 | | import json
6 | | import zlib
7 | | from build_definition import OUT, REF, build, canonical
8 | | from inventory import inventory
| |_______________________________^
help: Organize imports
|
6 | import zlib
7 +
8 | from build_definition import OUT, REF, build, canonical
|
Found 10 errors.
[*] 6 fixable with the `--fix` option.