🤖 自动格式化代码 [skip ci]

pull/822/head
github-actions[bot] 2025-04-22 05:28:39 +00:00
parent b83ce184ca
commit 55a44aa062
2 changed files with 3 additions and 2 deletions

View File

@ -369,6 +369,7 @@ TOOL_USE_STYLE_CONFIG = TOOL_USE_STYLE_CONFIG["simple"] if SIMPLE_OUTPUT else TO
PFC_STYLE_CONFIG = PFC_STYLE_CONFIG["simple"] if SIMPLE_OUTPUT else PFC_STYLE_CONFIG["advanced"]
LPMM_STYLE_CONFIG = LPMM_STYLE_CONFIG["simple"] if SIMPLE_OUTPUT else LPMM_STYLE_CONFIG["advanced"]
def is_registered_module(record: dict) -> bool:
"""检查是否为已注册的模块"""
return record["extra"].get("module") in _handler_registry

View File

@ -3,8 +3,8 @@
from src.common.logger import get_module_logger, LogConfig, LPMM_STYLE_CONFIG
lpmm_log_config = LogConfig(
console_format = LPMM_STYLE_CONFIG["console_format"],
console_format=LPMM_STYLE_CONFIG["console_format"],
file_format=LPMM_STYLE_CONFIG["file_format"],
)
logger = get_module_logger("LPMM", config=lpmm_log_config)
logger = get_module_logger("LPMM", config=lpmm_log_config)