Files
2026-10-02 22:43:23 -07:00

45 lines
876 B
TOML

[project]
name = "center"
version = "0.1.0"
description = "轻量级统一认证中心"
requires-python = ">=3.11"
dependencies = [
"alembic>=1.16.0",
"anyio>=4.15.0",
"asyncmy>=0.2.10",
"cryptography>=50.0.1",
"email-validator>=2.2.0",
"fastapi[standard]>=0.141.1",
"loguru>=0.7.3",
"pwdlib[argon2]>=0.3.0",
"pydantic-settings>=2.10.0",
"redis>=6.2.0",
"sqlalchemy[asyncio]>=2.0.41",
]
[dependency-groups]
dev = [
"aiosqlite>=0.21.0",
"fakeredis>=2.30.0",
"httpx>=0.28.1",
"psutil>=7.2.2",
"pytest>=8.4.0",
"pytest-asyncio>=1.0.0",
"ruff>=0.12.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
pythonpath = ["."]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["ASYNC", "B", "E", "F", "I", "UP"]
[tool.ruff.format]
quote-style = "double"