82 lines
3.6 KiB
Plaintext
82 lines
3.6 KiB
Plaintext
E501 Line too long (108 > 100)
|
||
--> docs/hel-892/krea-identity-document-evidence/build_definition.py:268:82
|
||
|
|
||
266 | unit = "像素请求缓存;本图由112经30/31覆盖,非最终尺寸保证"
|
||
267 | if name == "megapixels":
|
||
268 | unit = "准确实现MP基数1024×1024目标像素;源JSON int1与FLOAT default1.0分开,不计算/保证像素"
|
||
| ^^^^^^^
|
||
269 | if name in ("multiple", "resolution_steps"):
|
||
270 | unit = "像素对齐步长;准确实现round就近倍数条件,不试算尺寸"
|
||
|
|
||
|
||
E501 Line too long (106 > 100)
|
||
--> docs/hel-892/krea-identity-document-evidence/build_definition.py:279:84
|
||
|
|
||
277 | if name == "seed_control_candidate":
|
||
278 | default = "准确frontend1.45.19种子辅助缺省randomize"
|
||
279 | limits = "fixed/increment/decrement/randomize;前端控制不作后端seed参数,不执行随机或恢复"
|
||
| ^^^^^
|
||
280 | unit = "前端控制枚举,无物理单位"
|
||
281 | if name == "upload":
|
||
|
|
||
|
||
E501 Line too long (109 > 100)
|
||
--> docs/hel-892/krea-identity-document-evidence/build_definition.py:289:78
|
||
|
|
||
287 | if name == "comparison_history":
|
||
288 | default = "未知:前端已序列化历史列表,无独立后端widget默认"
|
||
289 | limits = "准确rgthree属性Slide及历史两对象全文;URL只作数据,不GET /api/view,不冒充本次产物"
|
||
| ^^^^^^^^^
|
||
290 | unit = "两个对象的完整JSON列表/布尔/URL文本;无像素或时间单位"
|
||
291 | if cls == "CLIPLoader" and name == "type":
|
||
|
|
||
|
||
E501 Line too long (156 > 100)
|
||
--> docs/hel-892/krea-identity-document-evidence/recompute.py:353:101
|
||
|
|
||
351 | …
|
||
352 | …
|
||
353 | …back1, edits1/29cols, fresh155, 1217/3660/294, 88 definitions, frozen boundaries, wheel/sdist"
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
354 | …
|
||
|
|
||
|
||
E501 Line too long (147 > 100)
|
||
--> docs/hel-892/krea-identity-document-evidence/render_report.py:87:97
|
||
|
|
||
85 | …
|
||
86 | …
|
||
87 | …e['lines'][0]}~{e['lines'][1]}行;commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
88 | …
|
||
89 | … f["value"]:
|
||
|
|
||
|
||
E501 Line too long (140 > 100)
|
||
--> docs/hel-892/krea-identity-document-evidence/render_report.py:118:94
|
||
|
|
||
116 | … e["sha256"]
|
||
117 | …
|
||
118 | …'lines'][0]}~{e['lines'][1]}行;提交{e['commit']};SHA256 {e['sha256']};{e['url']}",
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
119 | …
|
||
120 | …
|
||
|
|
||
|
||
E731 Do not assign a `lambda` expression, use a `def`
|
||
--> docs/hel-892/krea-identity-document-evidence/verify_sources.py:202:5
|
||
|
|
||
200 | in (REF / "rgthree____init__.py").read_text()
|
||
201 | )
|
||
202 | / f = lambda nid, name: next(
|
||
203 | | f for f in block["fields"] if f["node_id"] == str(nid) and f["field"] == name
|
||
204 | | )
|
||
| |_____^
|
||
205 | assert (
|
||
206 | f(79, "ref_boost")["schema_default"] == "1.0" and f(79, "ref_boost")["json_type"] == "int"
|
||
|
|
||
help: Rewrite `f` as a `def`
|
||
|
||
Found 7 errors.
|
||
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
|