Skip to content

Commit 012af14

Browse files
committed
Add explicit type to FSM classifier
1 parent 1bc9978 commit 012af14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axelrod/strategies/finite_state_machines.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import itertools
22
from random import randrange
3-
from typing import Any, List, Sequence, Tuple, Union
3+
from typing import Any, Dict, List, Sequence, Text, Tuple, Union
44

55
import numpy.random as random
66
from axelrod.action import Action
@@ -102,7 +102,7 @@ class FSMPlayer(Player):
102102

103103
name = "FSM Player"
104104

105-
classifier = {
105+
classifier: Dict[Text, Any] = {
106106
"memory_depth": 1,
107107
"stochastic": False,
108108
"long_run_time": False,

0 commit comments

Comments
 (0)