32 lines
948 B
TOML
32 lines
948 B
TOML
[project]
|
||
name = "glory-defense"
|
||
version = "1.0.0"
|
||
description = "Satirischer 2D-Browser-Shooter (Phaser 3) mit Flask-Backend"
|
||
requires-python = ">=3.10"
|
||
readme = "README.md"
|
||
|
||
[tool.ruff]
|
||
# Zielplattform ist das älteste unterstützte Python auf cPanel.
|
||
target-version = "py310"
|
||
line-length = 100
|
||
extend-exclude = ["node_modules", ".venv", "app/static"]
|
||
|
||
[tool.ruff.lint]
|
||
select = ["E", "F", "W", "I", "B", "UP", "SIM", "RUF", "N", "ANN", "S"]
|
||
ignore = [
|
||
# Deutsche Typografie („…“, –) ist gewollt, keine Verwechslungsgefahr.
|
||
"RUF001", "RUF002", "RUF003",
|
||
]
|
||
|
||
[tool.ruff.lint.per-file-ignores]
|
||
"tests/**" = ["ANN", "S101", "S105", "S106", "S603", "S310"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
# Projektordner in den Suchpfad: Sonst findet ein direkt aufgerufenes `pytest`
|
||
# (anders als `python -m pytest`) das Paket `app` nicht.
|
||
pythonpath = ["."]
|
||
markers = [
|
||
"e2e: End-to-End-Tests im echten Browser (Playwright)",
|
||
]
|