# 1. DAS VERPACKUNGS-SYSTEM [build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" # 2. PROJEKT-METADATEN & VENV-ABHÄNGIGKEITEN [project] name = "mein_projekt" version = "1.0.0" requires-python = ">=3.11" # ABHÄNGIGKEITEN dependencies = [ "requests", # Beispiel für eine normale Library ] # 3. CONFIG RUFF [tool.ruff] line-length = 88 # Wann wird eine Zeile automatisch umgebrochen? [tool.ruff.lint] # E = Style-Fehler, F = Logik-Fehler, I = Imports sortieren select = ["E", "F", "I"] # 4. CONFIG PYTEST [tool.pytest.ini_options] testpaths = ["tests"] # Wo liegen die Test-Dateien? addopts = "-v" # -v steht für "verbose" (ausführliche Test-Ausgabe)