CORS Fixed + black and ruff fixes

This commit is contained in:
Yûki VACHOT 2025-12-01 02:55:47 +01:00
parent 5e2f6078a1
commit 3844ffc207
30 changed files with 85 additions and 114 deletions

View file

@ -99,7 +99,7 @@ def register_game_tools(mcp: FastMCP, game_service: GameService):
"summary": {
"total_score": sum(g.total_score for g in games),
"average_score": sum(g.total_score for g in games) / len(games) if games else 0,
"maps_played": list(set(g.map_name for g in games)),
"maps_played": list({g.map_name for g in games}),
},
}