44 lines
894 B
TOML
44 lines
894 B
TOML
[project]
|
|
name = "eryao"
|
|
version = "0.1.0"
|
|
description = "觅爻签问后端服务"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"alembic==1.18.4",
|
|
"aiomysql==0.2.0",
|
|
"cryptography==46.0.3",
|
|
"email-validator==2.3.0",
|
|
"fastapi==0.135.1",
|
|
"pydantic==2.12.5",
|
|
"pydantic-settings==2.13.1",
|
|
"pyjwt==2.11.0",
|
|
"pyyaml==6.0.3",
|
|
"redis==7.2.1",
|
|
"sqlalchemy[asyncio]==2.0.48",
|
|
"structlog==25.5.0",
|
|
"uvicorn[standard]==0.41.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"httpx==0.28.1",
|
|
"pytest==9.0.2",
|
|
"pytest-asyncio==1.3.0",
|
|
"pytest-cov==7.0.0",
|
|
]
|
|
|
|
[[tool.uv.index]]
|
|
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
default = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["backend/tests"]
|
|
addopts = "-q --import-mode=importlib"
|
|
asyncio_mode = "auto"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"basedpyright==1.38.2",
|
|
"pre-commit==4.5.1",
|
|
]
|