Skip to content

Commit 5348663

Browse files
committed
run black
1 parent ccf81ca commit 5348663

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

axelrod/classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def __getitem__(
185185
raise KeyError("Unknown classifier")
186186

187187
def classify_player_for_this_classifier(
188-
player: Union[Player, Type[Player]]
188+
player: Union[Player, Type[Player]],
189189
) -> Any:
190190
def try_lookup() -> Any:
191191
try:

axelrod/makes_use_of.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def makes_use_of(player: Type[Player]) -> Set[Text]:
3636

3737

3838
def makes_use_of_variant(
39-
player_or_method: Union[Callable, Type[Player]]
39+
player_or_method: Union[Callable, Type[Player]],
4040
) -> Set[Text]:
4141
"""A version of makes_use_of that works on functions or player classes."""
4242
try:

axelrod/strategies/memorytwo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def set_sixteen_vector(self, sixteen_vector: Tuple[float, ...]):
9898

9999
@staticmethod
100100
def compute_memory_depth(
101-
sixteen_vector: Dict[Tuple[Action, Action], float]
101+
sixteen_vector: Dict[Tuple[Action, Action], float],
102102
) -> int:
103103
values = set(list(sixteen_vector.values()))
104104

axelrod/tests/strategies/test_gambler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Test for the Gambler strategy. Most tests come from the LookerUp test suite.
2-
"""
1+
"""Test for the Gambler strategy. Most tests come from the LookerUp test suite."""
32

43
import copy
54
import unittest

0 commit comments

Comments
 (0)