56 lines
2.2 KiB
Plaintext
56 lines
2.2 KiB
Plaintext
I001 [*] Import block is un-sorted or un-formatted
|
||
--> docs/hel-892/nlf-document-evidence/build_definition.py:3:1
|
||
|
|
||
1 | "NLF static editorial reference. No plugin imports, evaluation, media or model loading."
|
||
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
|
||
|
|
||
|
||
E501 Line too long (104 > 100)
|
||
--> docs/hel-892/nlf-document-evidence/build_definition.py:855:101
|
||
|
|
||
853 | "class_type": n["type"],
|
||
854 | "scope": "root",
|
||
855 | "pointer": f"/nodes/{i}/widgets_values/{(j if isinstance(values, list) else name)}",
|
||
| ^^^^
|
||
856 | "value": value,
|
||
857 | "json_type": type(value).__name__,
|
||
|
|
||
|
||
E501 Line too long (135 > 100)
|
||
--> docs/hel-892/nlf-document-evidence/build_definition.py:858:92
|
||
|
|
||
856 | … "value": value,
|
||
857 | … "json_type": type(value).__name__,
|
||
858 | … "execution_note": f"源mode={n['mode']};声明{props.get('cnr_id', '提供方未知')}@{props.get('ver', '版本未知')};UE"
|
||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
859 | … + str(props["ue_properties"]["version"])
|
||
860 | … + (
|
||
|
|
||
|
||
E501 Line too long (106 > 100)
|
||
--> docs/hel-892/nlf-document-evidence/build_definition.py:1002:91
|
||
|
|
||
1000 | flow += ["源物理边:" + json.dumps(e, ensure_ascii=False) for e in graph["links"]]
|
||
1001 | flow += [
|
||
1002 | f"源节点{n['id']} {n['type']}:mode={n['mode']};保存位置={len(n['widgets_values'])};properties="
|
||
| ^^^^^^
|
||
1003 | + json.dumps(n["properties"], ensure_ascii=False)
|
||
1004 | for n in graph["nodes"]
|
||
|
|
||
|
||
Found 4 errors.
|
||
[*] 1 fixable with the `--fix` option.
|