[project] name = "prism" version = "0.1.0" description = "PRISM – Pollution and Risks Identification System for Medicine (back-end)" readme = "../README.md" license = "GPL-3.0-or-later" requires-python = ">=3.12,<3.13" dependencies = [ "django~=5.2", "djangorestframework~=3.16", "drf-spectacular~=0.28", "django-environ~=0.12", "psycopg[binary]~=3.2", "argon2-cffi~=25.1", "django-otp~=1.6", "qrcode~=8.0", "django-simple-history~=3.8", "httpx~=0.28", "gunicorn~=23.0", "whitenoise~=6.9", ] [dependency-groups] dev = [ "pytest~=8.3", "pytest-django~=4.10", "pytest-asyncio~=0.26", "respx~=0.22", "ruff~=0.11", ] [tool.uv] package = false [tool.ruff] line-length = 100 target-version = "py312" extend-exclude = ["*/migrations/*"] [tool.ruff.lint] select = ["E", "F", "W", "I", "B", "UP", "DJ", "S", "SIM"] ignore = ["S101"] [tool.ruff.lint.per-file-ignores] "tests/*" = ["S105", "S106"] [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "config.settings" testpaths = ["tests"] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" filterwarnings = ["ignore:No directory at:UserWarning"]