Skip to content

Commit bb0733b

Browse files
committed
run black
1 parent 9460cf1 commit bb0733b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

axelrod/match_generator.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ def build_match_chunks(self) -> Iterator[MatchChunk]:
9595
for index_pair in edges:
9696
match_params = self.build_single_match_params()
9797
r = next(self.random_generator)
98-
yield MatchChunk(index_pair=index_pair, match_params=match_params, repetitions=self.repetitions, seed=r)
98+
yield MatchChunk(
99+
index_pair=index_pair,
100+
match_params=match_params,
101+
repetitions=self.repetitions,
102+
seed=r,
103+
)
99104

100105
def build_single_match_params(self):
101106
"""

axelrod/tests/unit/test_tournament.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,9 @@ def make_chunk_generator():
663663
for player2_index in range(player1_index, len(self.players)):
664664
index_pair = (player1_index, player2_index)
665665
match_params = {"turns": turns, "game": self.game}
666-
yield MatchChunk(index_pair, match_params, self.test_repetitions, 0)
666+
yield MatchChunk(
667+
index_pair, match_params, self.test_repetitions, 0
668+
)
667669

668670
chunk_generator = make_chunk_generator()
669671
interactions = {}

0 commit comments

Comments
 (0)