47 lines
1017 B
TOML
47 lines
1017 B
TOML
[project]
|
|
name = "mtusi-messenger"
|
|
version = "0.5.0"
|
|
description = "MTUSI lab 5: durable versioned image pipeline"
|
|
requires-python = ">=3.14,<3.15"
|
|
dependencies = [
|
|
"argon2-cffi==25.1.0",
|
|
"boto3==1.43.109",
|
|
"fastapi==0.143.3",
|
|
"pillow==13.0.0",
|
|
"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]
|
|
extend-exclude = ["tests", "scripts/check_contract.py", "scripts/validate_openapi.py"]
|
|
target-version = "py314"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP"]
|
|
|
|
[tool.ruff.per-file-target-version]
|
|
"scripts/*.py" = "py39"
|