Skip to content

Commit c2e38a3

Browse files
committed
python black with correct options
1 parent 8384c36 commit c2e38a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

axelrod/strategies/frequency_analyzer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ def strategy(self, opponent: Player) -> Action:
9696
try:
9797
results = self.frequency_table[self.current_sequence]
9898
cooperates = results.count(C)
99-
if (cooperates / len(self.history)) > self.minimum_cooperation_ratio:
99+
if (
100+
cooperates / len(self.history)
101+
) > self.minimum_cooperation_ratio:
100102
return C
101103
return D
102104
except:

0 commit comments

Comments
 (0)