diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-02-19 13:15:53 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-02-19 13:15:53 +0100 |
| commit | f48b2234e9effe06d97ddac0cca525fa81cd872f (patch) | |
| tree | cf27883aa06202f4b63ee84e0cee531cda60557a /src | |
| parent | a6153aa85a200fb324cf8f2e8830d6c0f31fd616 (diff) | |
fix: Fix typing
Diffstat (limited to 'src')
| -rw-r--r-- | src/strategy.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/strategy.py b/src/strategy.py index 6713299..01b69ad 100644 --- a/src/strategy.py +++ b/src/strategy.py @@ -1,7 +1,10 @@ -from typing import Protocol +from __future__ import annotations -from src.game import Game -from src.player import Player +from typing import TYPE_CHECKING, Protocol + +if TYPE_CHECKING: + from src.game import Game + from src.player import Player class GameEloChangeStrategy(Protocol): |
