forked from mtusi2026/mtusi2026lab2
Implement lab 2 PostgreSQL persistence and expiring sessions
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
[project]
|
||||
name = "mtusi-messenger"
|
||||
version = "0.2.0"
|
||||
description = "MTUSI lab 2: durable PostgreSQL messenger and expiring sessions"
|
||||
requires-python = ">=3.14,<3.15"
|
||||
dependencies = [
|
||||
"argon2-cffi==25.1.0",
|
||||
"fastapi==0.143.3",
|
||||
"psycopg[binary,pool]==3.3.6",
|
||||
"pydantic==2.14.1",
|
||||
"redis==8.1.0",
|
||||
"uvicorn==0.54.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling==1.27.0"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/messenger"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"httpx==0.28.1",
|
||||
"openapi-spec-validator==0.7.2",
|
||||
"pytest==9.1.1",
|
||||
"ruff==0.17.1",
|
||||
]
|
||||
research = ["matplotlib==3.11.2"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["student-tests"]
|
||||
addopts = "-ra --tb=short"
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py314"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "B", "UP"]
|
||||
|
||||
[tool.ruff.per-file-target-version]
|
||||
Reference in New Issue
Block a user