style: 使用ruff格式化app.py,优化导入

This commit is contained in:
insistence
2024-07-12 11:36:06 +08:00
parent 5d8b177a12
commit c23a3ccfaf

View File

@@ -1,5 +1,5 @@
import uvicorn
from server import app, AppConfig
from server import app, AppConfig # noqa: F401
if __name__ == '__main__':
@@ -8,5 +8,5 @@ if __name__ == '__main__':
host=AppConfig.app_host,
port=AppConfig.app_port,
root_path=AppConfig.app_root_path,
reload=AppConfig.app_reload
reload=AppConfig.app_reload,
)