init
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
[project]
|
||||
name = "dorm-repair-backend"
|
||||
version = "0.1.0"
|
||||
description = "交互式透明化宿舍报修系统 —— FastAPI 后端"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"bcrypt>=4,<5",
|
||||
"fastapi>=0.115,<1",
|
||||
"uvicorn[standard]>=0.30,<1",
|
||||
"python-multipart>=0.0.9,<1",
|
||||
"pydantic>=2.11,<3",
|
||||
"httpx>=0.28,<1",
|
||||
"python-dotenv>=1.0,<2",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff>=0.15,<1",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 120
|
||||
src = ["backend", "cli.py"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "B"]
|
||||
Reference in New Issue
Block a user