diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-02-19 12:53:55 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-02-19 12:53:55 +0100 |
| commit | 4f87f915ef7c6b8f20f70d35ff675059326680bd (patch) | |
| tree | c9ca2b77eb8731dc492611ac6d2c57b03f294030 /strategy.py | |
| parent | 99f7e18c12945e9fbe22524a84a85e5733898dd2 (diff) | |
chore: Lint
Diffstat (limited to 'strategy.py')
| -rw-r--r-- | strategy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strategy.py b/strategy.py index 85ea3e0..5f42e3f 100644 --- a/strategy.py +++ b/strategy.py @@ -6,7 +6,7 @@ from player import Player class GameEloChangeStrategy(Protocol): def proccess_game( - self, game: Game, current_elo: dict[Player, int] + self, game: Game, current_elo: dict[Player, int], ) -> dict[Player, float]: ... @@ -16,7 +16,7 @@ class SimpleEloChangeStrategy(GameEloChangeStrategy): K = 32 def proccess_game( - self, game: Game, current_elo: dict[Player, int] + self, game: Game, current_elo: dict[Player, int], ) -> dict[Player, float]: players_elo_updates = {player: 0.0 for player in game.scores} |
