50 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "dieya-risk-prediction-backend"
version = "0.1.0"
description = "Risk prediction service built with FastAPI"
readme = "README.md"
requires-python = ">=3.11.9,<3.12"
dependencies = [
"alembic>=1.13,<2.0",
"asyncpg>=0.29,<1.0",
"fastapi>=0.115,<1.0",
"httpx>=0.27,<1.0",
"openpyxl>=3.1,<4.0",
"python-multipart>=0.0.9,<1.0",
"PyJWT>=2.8,<3.0",
"pydantic>=2.8,<3.0",
"pydantic-settings>=2.4,<3.0",
"sqlalchemy[asyncio]>=2.0,<3.0",
"uvicorn[standard]>=0.30,<1.0",
]
[project.optional-dependencies]
dev = [
"aiosqlite>=0.20,<1.0",
"httpx>=0.27,<1.0",
"pytest>=8.0,<9.0",
"pytest-asyncio>=0.23,<1.0",
"ruff>=0.6,<1.0",
]
[tool.setuptools.packages.find]
include = ["app*"]
[tool.ruff]
line-length = 120
target-version = "py311"
src = ["app", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-ra"
asyncio_mode = "auto"