🎨 代码格式化

This commit is contained in:
HibiKier 2025-06-17 17:44:18 +08:00
parent 5aee439bb2
commit 42bf5f5742
2 changed files with 1 additions and 3 deletions

View File

@ -74,8 +74,6 @@ def _generate_simple_config(exists_module: list[str]):
if _data.get(module) and k in _data[module].keys(): if _data.get(module) and k in _data[module].keys():
Config.set_config(module, k, _data[module][k]) Config.set_config(module, k, _data[module][k])
if f"{module}:{k}".lower() in exists_module: if f"{module}:{k}".lower() in exists_module:
if k == "TEST9":
print()
_tmp_data[module][k] = Config.get_config( _tmp_data[module][k] = Config.get_config(
module, k, build_model=False module, k, build_model=False
) )

View File

@ -5,7 +5,7 @@ from typing import Any, TypeVar, get_args, get_origin
import cattrs import cattrs
from nonebot.compat import model_dump from nonebot.compat import model_dump
from pydantic import VERSION, BaseModel, Field, TypeAdapter from pydantic import VERSION, BaseModel, Field
from ruamel.yaml import YAML from ruamel.yaml import YAML
from ruamel.yaml.scanner import ScannerError from ruamel.yaml.scanner import ScannerError