Files
Kochbuch/pyproject.toml
T
Kyle DammannandClaude Opus 5.5 aec254518c Add ruff config and document Postgres test run
- Lint rules (pycodestyle, pyflakes, bugbear, isort, pyupgrade, bandit)
  in pyproject.toml; ruff pinned in requirements-dev
- Full suite verified against PostgreSQL (embedded pgserver), plus a
  production-like check: collectstatic with manifest storage, fresh
  migrations, ensure_admin and all main pages with DEBUG off

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 22:01:49 +01:00

22 lines
514 B
TOML

[project]
name = "kochbuch"
version = "0.1.0"
requires-python = ">=3.12"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings_test"
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 120
extend-exclude = ["*/migrations/*"]
[tool.ruff.lint]
select = ["E", "F", "W", "B", "I", "UP", "S"]
ignore = ["E501", "S311"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S104", "S105", "S106"]
"recipes/schema_org.py" = ["S110"] # malformed third-party HTML must never break an import