Skip to content

Commit b7ff5c6

Browse files
committed
Run black on the file.
1 parent a9b9556 commit b7ff5c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

axelrod/strategies/titfortat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def strategy(self, opponent: Player) -> Action:
447447

448448
return C
449449

450+
450451
class Gradual(Player):
451452
"""
452453
Similar to OriginalGradual, this is a player that punishes defections with a
@@ -493,7 +494,6 @@ def strategy(self, opponent: Player) -> Action:
493494
if len(self.history) == 0:
494495
return C
495496

496-
497497
if self.punish_count > 0:
498498
self.punish_count -= 1
499499
return D
@@ -509,7 +509,6 @@ def strategy(self, opponent: Player) -> Action:
509509
return C
510510

511511

512-
513512
@TrackHistoryTransformer(name_prefix=None)
514513
class ContriteTitForTat(Player):
515514
"""

0 commit comments

Comments
 (0)