Migrate project to uv and add Docker CI
All checks were successful
CI / test (push) Successful in 5m48s
CI / test (pull_request) Successful in 48s
CI / docker-build (push) Successful in 3m7s
CI / docker-build (pull_request) Successful in 45s

This commit is contained in:
steve-w
2026-04-06 16:51:36 +00:00
parent 18af835645
commit b2f7d0480a
8 changed files with 516 additions and 40 deletions

21
pyproject.toml Normal file
View File

@@ -0,0 +1,21 @@
[project]
name = "shopping-list-api"
version = "0.1.0"
description = "FastAPI service for managing shopping lists, products, and list items backed by SQLite."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115,<1.0",
"pydantic>=2.0,<3.0",
"uvicorn>=0.34,<1.0",
]
[dependency-groups]
dev = [
"httpx>=0.28,<1.0",
"pytest>=8.0,<9.0",
]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["test_main.py"]