style: 使用ruff格式化utils模块,优化导入

This commit is contained in:
insistence
2024-07-12 11:13:01 +08:00
parent 380693c66d
commit ed9ad54b46
7 changed files with 115 additions and 94 deletions

View File

@@ -8,4 +8,4 @@ if not os.path.exists(log_path):
log_path_error = os.path.join(log_path, f'{time.strftime("%Y-%m-%d")}_error.log')
logger.add(log_path_error, rotation="50MB", encoding="utf-8", enqueue=True, compression="zip")
logger.add(log_path_error, rotation='50MB', encoding='utf-8', enqueue=True, compression='zip')