added support for postgres and redis
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user