aboutsummaryrefslogtreecommitdiff
path: root/src/strategy.py
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-02-19 13:04:46 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-02-19 13:04:58 +0100
commite59abd6bfb6d8bf9a3eec96e35e9c628fdb451c4 (patch)
tree06b133bfcee462a98171229d86736767feb53827 /src/strategy.py
parent7200fcf3f4e4c22193b5b96452f9aa5131b1bc1c (diff)
refactor: Switch to isoformat
Diffstat (limited to 'src/strategy.py')
-rw-r--r--src/strategy.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/strategy.py b/src/strategy.py
index 6713299..1d30a55 100644
--- a/src/strategy.py
+++ b/src/strategy.py
@@ -1,7 +1,8 @@
-from typing import Protocol
+from typing import TYPE_CHECKING, Protocol
-from src.game import Game
-from src.player import Player
+if TYPE_CHECKING:
+ from src.game import Game
+ from src.player import Player
class GameEloChangeStrategy(Protocol):