From 0901a4b99a997aed00387edf8bc84586ab3dcf1a Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Mon, 22 Jun 2026 00:22:46 +0200 Subject: [PATCH] style: Ruff-Formatierung auf Alicias Empfehlungs-Engine --- empfehlung_service.py | 4 +--- game_database.py | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/empfehlung_service.py b/empfehlung_service.py index bad977f..77307a1 100644 --- a/empfehlung_service.py +++ b/empfehlung_service.py @@ -7,9 +7,7 @@ FACTOR_DAUER: float = 33.33 FACTOR_INTERAKTION: float = 33.33 -def score_berechnen( - spiel: SPIEL, praeferenzen: dict[str, float] -) -> float: +def score_berechnen(spiel: SPIEL, praeferenzen: dict[str, float]) -> float: """Berechnet den Match-Score für ein Spiel. Bewertet das Spiel nach drei Dimensionen: diff --git a/game_database.py b/game_database.py index a52841c..4dc1021 100644 --- a/game_database.py +++ b/game_database.py @@ -13,6 +13,7 @@ class SPIEL(TypedDict): komplexitaet: float kategorien: list[str] + MIN_SPIELER_DEFAULT = 1 MAX_SPIELER_DEFAULT = 10