Files
surveybox/pyproject.toml
marco.morath 6c5175d2f1
CI / audit (push) Skipped
CI / checks (push) Successful in 4m3s
CI / image (push) Successful in 1m11s
v1.0.0
2026-11-26 10:44:32 +01:00

42 lines
1.1 KiB
TOML

# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Projektmetadaten und Werkzeugeinstellungen.
# Die Laufzeit-Abhängigkeiten stehen in requirements.in und werden mit
# scripts/lock.sh in requirements.lock (mit Hashes) festgeschrieben.
[project]
name = "surveybox"
version = "1.0.0"
description = "Formulare und Abstimmungen, selbst gehostet"
readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.13"
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "S", "SIM", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S105", "S106", "S603", "S607"]
[tool.mypy]
python_version = "3.13"
strict = true
packages = ["surveybox"]
[[tool.mypy.overrides]]
module = ["babel.*", "reportlab.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
# Projektverzeichnis in den Suchpfad, damit "import surveybox" auch mit dem
# Befehl "pytest" (ohne "python -m") funktioniert, etwa in der CI
pythonpath = ["."]
markers = [
"db: braucht eine PostgreSQL-Testdatenbank (SURVEYBOX_TEST_DB=1)",
]