36 lines
765 B
TOML
36 lines
765 B
TOML
[project]
|
|
name = "pk-lab-server"
|
|
version = "0.1.0"
|
|
description = "Shared API and PostgreSQL persistence for PK Lab mini programs"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.116,<1",
|
|
"httpx>=0.28,<1",
|
|
"psycopg[binary]>=3.2,<4",
|
|
"pydantic-settings>=2.10,<3",
|
|
"sqlalchemy>=2.0,<3",
|
|
"uvicorn>=0.35,<1",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest>=8,<10", "ruff>=0.12,<1"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/pk_lab_server"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
# FastAPI intentionally declares dependency providers as default values.
|
|
ignore = ["B008"]
|