Files
chatballs/pyproject.toml
T
AndreyandClaude Opus 4.8 9679cb8cfc ✅ test(infra): make pytest discover the suite and unify the test command (#3)
- add apps/backend/pytest.ini (next to manage.py so it works inside the
  backend container); include tests.py in python_files so pytest collects the
  existing Django TestCase suites (was silently collecting nothing)
- drop the duplicate pytest config from the root pyproject.toml
- scripts/check.ps1 runs pytest + frontend unit tests + typechecks
- document the canonical test commands (backend/frontend/e2e) in README

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 23:02:51 +03:00

20 lines
497 B
TOML

[tool.ruff]
target-version = "py312"
line-length = 100
src = ["apps/backend"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "DJ"]
ignore = ["DJ001"]
# pytest config lives in apps/backend/pytest.ini so it is also picked up inside
# the backend container (workdir /app/apps/backend, which does not mount this file).
[tool.mypy]
python_version = "3.12"
plugins = ["mypy_django_plugin.main"]
ignore_missing_imports = true
[tool.django-stubs]
django_settings_module = "hub_backend.settings"