33 lines
800 B
TOML
33 lines
800 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",
|
|
"boto3>=1.43,<2",
|
|
"pillow==13.0.0",
|
|
"opentelemetry-sdk==1.45.2",
|
|
"opentelemetry-exporter-otlp-proto-http==1.45.2",
|
|
"psutil>=7,<8",
|
|
]
|
|
|
|
[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.
|