22 lines
626 B
TOML
22 lines
626 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"]
|
|
|
|
[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.
|