31 lines
568 B
TOML
31 lines
568 B
TOML
[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"]
|