mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🎨 代码格式化
This commit is contained in:
parent
5aee439bb2
commit
42bf5f5742
@ -74,8 +74,6 @@ def _generate_simple_config(exists_module: list[str]):
|
||||
if _data.get(module) and k in _data[module].keys():
|
||||
Config.set_config(module, k, _data[module][k])
|
||||
if f"{module}:{k}".lower() in exists_module:
|
||||
if k == "TEST9":
|
||||
print()
|
||||
_tmp_data[module][k] = Config.get_config(
|
||||
module, k, build_model=False
|
||||
)
|
||||
|
||||
@ -5,7 +5,7 @@ from typing import Any, TypeVar, get_args, get_origin
|
||||
|
||||
import cattrs
|
||||
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.scanner import ScannerError
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user