added support for postgres and redis

This commit is contained in:
Brian Bjarke Jensen
2025-11-06 20:03:32 +01:00
parent 298fb192de
commit 29fd7b4656
2 changed files with 156 additions and 0 deletions
+14
View File
@@ -6,9 +6,18 @@ readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.121.0",
"sqlalchemy>=2.0.0",
"uvicorn>=0.38.0",
]
[project.optional-dependencies]
redis = [
"redis>=5.0.0",
]
postgres = [
"psycopg2-binary>=2.9.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
@@ -25,6 +34,7 @@ dev = [
"pytest-cov>=7.0.0",
"pyupgrade>=3.21.0",
"ruff>=0.14.3",
"types-psycopg2>=2.9.21.20251012",
]
[[tool.uv.index]]
@@ -55,3 +65,7 @@ markers = [
"unit: marks tests as unit tests",
"integration: marks tests as integration tests",
]
[[tool.mypy.overrides]]
module = "redis.*"
ignore_missing_imports = true