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

This commit is contained in:
github-actions[bot]
2025-04-23 15:24:27 +00:00
parent 6da2a77b78
commit 95210e8b25
2 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ BASE_TOOL_STYLE_CONFIG = {
"<level>{time:MM-DD HH:mm}</level> | <light-blue>工具使用</light-blue> | <light-blue>{message}</light-blue>" "<level>{time:MM-DD HH:mm}</level> | <light-blue>工具使用</light-blue> | <light-blue>{message}</light-blue>"
), # noqa: E501 ), # noqa: E501
"file_format": "{time:YYYY-MM-DD HH:mm:ss} | {level: <8} | {extra[module]: <15} | 工具使用 | {message}", "file_format": "{time:YYYY-MM-DD HH:mm:ss} | {level: <8} | {extra[module]: <15} | 工具使用 | {message}",
}, },
} }
PERSON_INFO_STYLE_CONFIG = { PERSON_INFO_STYLE_CONFIG = {
@@ -364,7 +364,7 @@ PERSON_INFO_STYLE_CONFIG = {
"<level>{time:MM-DD HH:mm}</level> | <light-blue>人物信息</light-blue> | <light-blue>{message}</light-blue>" "<level>{time:MM-DD HH:mm}</level> | <light-blue>人物信息</light-blue> | <light-blue>{message}</light-blue>"
), # noqa: E501 ), # noqa: E501
"file_format": "{time:YYYY-MM-DD HH:mm:ss} | {level: <8} | {extra[module]: <15} | 人物信息 | {message}", "file_format": "{time:YYYY-MM-DD HH:mm:ss} | {level: <8} | {extra[module]: <15} | 人物信息 | {message}",
}, },
} }
BACKGROUND_TASKS_STYLE_CONFIG = { BACKGROUND_TASKS_STYLE_CONFIG = {

View File

@@ -7,7 +7,7 @@ from src.common.logger import get_module_logger, LogConfig, BASE_TOOL_STYLE_CONF
base_tool_log_config = LogConfig( base_tool_log_config = LogConfig(
console_format=BASE_TOOL_STYLE_CONFIG["console_format"], console_format=BASE_TOOL_STYLE_CONFIG["console_format"],
file_format=BASE_TOOL_STYLE_CONFIG["file_format"], file_format=BASE_TOOL_STYLE_CONFIG["file_format"],
) )
logger = get_module_logger("base_tool", config=base_tool_log_config) logger = get_module_logger("base_tool", config=base_tool_log_config)