同步更新:重构路由、服务模块,更新前端构建

This commit is contained in:
2025-12-14 21:47:08 +08:00
parent e01a7b5235
commit a346509a5f
87 changed files with 9186 additions and 7826 deletions

22
pyproject.toml Normal file
View File

@@ -0,0 +1,22 @@
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.ruff]
line-length = 120
target-version = "py310"
extend-exclude = [
"admin-frontend",
"app-frontend",
"static",
"templates",
"__pycache__",
"data",
]
[tool.ruff.lint]
select = ["E9", "F63", "F7", "F82"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q --import-mode=prepend"