style(config): 移除配置文件中的多余注释和环境变量设置
- 移除了 config.yaml 中的注释行 - 移除了 app/core/logging.py 中多余的空格 - 移除了 app/main.py 中的环境变量设置代码 - 移除了 app/main.py 中未使用的导入语句
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ def setup_logging() -> None:
|
||||
log_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
logger.add(
|
||||
log_dir / "{time:YYYY-MM-DD}.log",
|
||||
log_dir /"{time:YYYY-MM-DD}.log",
|
||||
rotation=config.logging.rotation,
|
||||
retention=config.logging.retention,
|
||||
enqueue=True,
|
||||
|
||||
Reference in New Issue
Block a user