re-style: 格式化代码

This commit is contained in:
John Richard
2025-10-02 20:26:01 +08:00
parent ecb02cae31
commit 7923eafef3
263 changed files with 3103 additions and 3123 deletions

View File

@@ -1,7 +1,8 @@
import orjson
import os
from typing import Any
import orjson
def load_scenes() -> dict[str, Any]:
"""
@@ -13,7 +14,7 @@ def load_scenes() -> dict[str, Any]:
current_dir = os.path.dirname(os.path.abspath(__file__))
json_path = os.path.join(current_dir, "template_scene.json")
with open(json_path, "r", encoding="utf-8") as f:
with open(json_path, encoding="utf-8") as f:
return orjson.loads(f.read())