54 lines
1.1 KiB
TOML
54 lines
1.1 KiB
TOML
[project]
|
|
name = "loom-backend"
|
|
version = "0.1.0"
|
|
description = "Loom Agent 任务自动化平台后端"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"pydantic>=2.9.0",
|
|
"pydantic-settings>=2.5.0",
|
|
"sqlalchemy[asyncio]>=2.0.35",
|
|
"asyncpg>=0.30.0",
|
|
"psycopg[binary]>=3.2.0",
|
|
"alembic>=1.13.0",
|
|
"python-jose[cryptography]>=3.3.0",
|
|
"bcrypt>=4.2.0",
|
|
"cryptography>=43.0.0",
|
|
"celery[redis]>=5.4.0",
|
|
"redis>=5.0.0",
|
|
"httpx>=0.27.0",
|
|
"structlog>=24.4.0",
|
|
"python-multipart>=0.0.12",
|
|
"email-validator>=2.2.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"httpx>=0.27.0",
|
|
"ruff>=0.6.0",
|
|
"mypy>=1.11.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W", "B", "UP"]
|
|
ignore = ["B008"]
|