forked from mtusi2026/mtusi2026lab3
30 lines
698 B
TOML
30 lines
698 B
TOML
[project]
|
|
name = "mtusi-messenger"
|
|
version = "1.0.0"
|
|
requires-python = ">=3.12,<3.13"
|
|
dependencies = ["fastapi", "uvicorn", "psycopg[binary,pool]", "redis", "argon2-cffi"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest",
|
|
"httpx",
|
|
"ruff",
|
|
"openapi-spec-validator",
|
|
"jsonschema",
|
|
"matplotlib==3.10.8",
|
|
"aiohttp==3.13.3",
|
|
]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
include = ["src/**/*.py", "student-tests/**/*.py", "research/**/*.py"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["student-tests"]
|
|
pythonpath = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E4", "E7", "E9", "F", "I", "UP", "B"]
|
|
ignore = ["B008"] # FastAPI dependencies are declared in endpoint signatures.
|