Files
aigc-home/docs/hel-892/krea-charsheet-api-document-evidence/kcs-lint-tools-first.txt
T

89 lines
5.1 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 (119 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:21:101
|
19 | groups = result["groups"]
20 | fixed = result["browser_accounting"]["fixed_count"]
21 | backend_fixed = sum(result["backend_paths"].values()) - sum(result["browser_accounting"]["polling_paths"].values())
| ^^^^^^^^^^^^^^^^^^^
22 | summary = ('第166批:krea2_T2I_CharSheetV1_API.json 单份角色设定表固'
23 | '定参考。\n\n产品只source_reviews本份fixed_version_docume'
|
E501 Line too long (114 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:70:91
|
68 | '部署。请HEL-893独立功能与界面审核,不开展167,自测不等于独立通过。\n')
69 | summary += f"\n基线{BASE};冻结{frozen['count']}旧文件含163原件。\n"
70 | summary += f"最终{result['assertions']}浏览断言,分组{json.dumps(groups, ensure_ascii=False)};未累计旧轮。\n"
| ^^^^^^^^^^^^^
71 | summary += f"固定浏览{fixed}-本机HTTP夹具6+就绪1=后端固定{backend_fixed};禁止请求0,轮询差额{result['polling_delta']}。逐路径…
72 | summary += "最终pin:" + json.dumps(pin, ensure_ascii=False) + "\n"
|
E501 Line too long (165 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:71:74
|
69 | … 。\n"
70 | …ps(groups, ensure_ascii=False)};未累计旧轮。\n"
71 | …ackend_fixed};禁止请求0,轮询差额{result['polling_delta']}。逐路径账见validation-results.json。\n"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72 | … "\n"
73 | …
|
E501 Line too long (118 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:74:101
|
72 | summary += "最终pin:" + json.dumps(pin, ensure_ascii=False) + "\n"
73 | (OUT / "delivery-summary.md").write_text(summary)
74 | changed = subprocess.check_output(["git", "diff", "--name-only", "-z"], cwd=REPO).decode().strip("\0").split("\0")
| ^^^^^^^^^^^^^^^^^^
75 | new = subprocess.check_output(["git", "ls-files", "--others", "--exclude-standard", "-z"], cwd=REPO).decode().strip("\0").split("\…
76 | index = OUT / "file-purpose-sha256.json"
|
E501 Line too long (137 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:75:101
|
73 | …)
74 | …, "--name-only", "-z"], cwd=REPO).decode().strip("\0").split("\0")
75 | …, "--others", "--exclude-standard", "-z"], cwd=REPO).decode().strip("\0").split("\0")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76 | …
77 | …
|
E501 Line too long (310 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:83:84
|
81 | …
82 | …
83 | …src/") else "本份专项信任回归" if "/tests/" in name else "GET只读浏览/全新隔离库/停服复现" if name.startswith("e2e/") else "本份原件/可逆中文与doc/GET/身份缺口/包、保护、浏览、冻结证据或复现工具;原始日志不累计旧轮"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
84 | …_bytes()).hexdigest(), purpose=purpose))
85 | …False, indent=2) + "\n")
|
E501 Line too long (135 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:84:101
|
82 | …n {".png", ".pyc"}
83 | … pin" if name.startswith("calliope-backend/src/") else "本份专项信任回归" if "/tests/" in name else "GET只读浏览/全新隔离库/停服复现"…
84 | …t().st_size, sha256=hashlib.sha256(path.read_bytes()).hexdigest(), purpose=purpose))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
85 | …True, base=BASE, files=files), ensure_ascii=False, indent=2) + "\n")
86 | …es), "files + index; no PNG/pyc in Git")
|
E501 Line too long (119 > 100)
--> docs/hel-892/krea-charsheet-api-document-evidence/finish_evidence.py:85:101
|
83 | purpose = "唯一产品变更:本份固定块或代码拥有pin" if name.startswith("calliope-backend/src/") else "本份专项信任回归" if "/tes…
84 | files.append(dict(path=name, bytes=path.stat().st_size, sha256=hashlib.sha256(path.read_bytes()).hexdigest(), purpose=purpose))
85 | index.write_text(json.dumps(dict(self_excluded=True, base=BASE, files=files), ensure_ascii=False, indent=2) + "\n")
| ^^^^^^^^^^^^^^^^^^^
86 | print("PASS self-excluded purpose/SHA", len(files), "files + index; no PNG/pyc in Git")
|
Found 8 errors.