chore: 代码清理和格式化
对项目代码进行了一系列小幅度的清理和改进,包括: - 移除未使用的导入语句 - 统一代码格式,如调整空行和导入顺序 - 优化日志输出的可读性 - 更新类型注解以符合现代 Python 语法 - 修复代码风格检查器(linter)报告的问题
This commit is contained in:
committed by
Windpicker-owo
parent
bfeb04969d
commit
6ce331cf0c
@@ -1,9 +1,11 @@
|
||||
import os
|
||||
import socket
|
||||
|
||||
from fastapi import APIRouter, FastAPI
|
||||
from fastapi.middleware.cors import CORSMiddleware # 新增导入
|
||||
from rich.traceback import install
|
||||
from uvicorn import Config, Server as UvicornServer
|
||||
from uvicorn import Config
|
||||
from uvicorn import Server as UvicornServer
|
||||
|
||||
from src.common.logger import get_logger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user