32 lines
931 B
TOML
32 lines
931 B
TOML
[project]
|
|
name = "mtusi-messenger-lab3"
|
|
version = "1.0.0"
|
|
requires-python = ">=3.14,<3.15"
|
|
dependencies = [
|
|
"fastapi==0.143.3", "pydantic==2.14.1", "uvicorn==0.54.0",
|
|
"psycopg[binary,pool]==3.3.6", "argon2-cffi>=25,<26", "redis==8.1.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest>=8,<10", "httpx>=0.28,<1", "ruff>=0.14,<1", "openapi-spec-validator==0.7.2", "psutil>=7,<8", "matplotlib>=3.10,<4"]
|
|
|
|
[tool.ruff]
|
|
line-length = 79
|
|
target-version = "py314"
|
|
include = ["src/**/*.py", "student-tests/**/*.py", "research/**/*.py", "scripts/verify_*.py"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP"]
|
|
|
|
[tool.ruff.per-file-target-version]
|
|
"scripts/*.py" = "py39"
|
|
|
|
# SQL и генерируемые Markdown-таблицы в инструментах не разрываем.
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"research/*.py" = ["E501"]
|
|
"scripts/*.py" = ["E501"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["student-tests"]
|
|
addopts = "-ra"
|