debate/pyproject.toml
Mikkel Georgsen 300b3ddb0a feat(01-01): initialize Python project with uv and dependencies
- Add pyproject.toml with FastAPI, SQLAlchemy, Pydantic dependencies
- Configure ruff linter with Python 3.12 target
- Create .env.example with documented environment variables
- Add README.md with development setup instructions
2026-01-25 20:08:14 +00:00

51 lines
949 B
TOML

[project]
name = "debate-backend"
version = "0.1.0"
description = "Backend API for the Debate Linux distribution builder platform"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [
{ name = "Debate Team" }
]
dependencies = [
"fastapi[all]>=0.115.0",
"uvicorn[standard]>=0.30.0",
"sqlalchemy[asyncio]>=2.0.0",
"asyncpg<0.29.0",
"alembic",
"pydantic>=2.10.0",
"pydantic-settings",
"slowapi",
"fastapi-csrf-protect",
"python-multipart",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"httpx",
"ruff",
"mypy",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["backend"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.12"
strict = true