Skip to content

Commit a2a98f4

Browse files
committed
Fix minor style conventions for Names.
1 parent 5a6caf3 commit a2a98f4

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

axelrod/strategies/axelrod_first.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ class Joss(MemoryOnePlayer):
244244
245245
Names:
246246
247-
- Joss [Axelrod1980]_
248-
- Hard Joss [Stewart2012]_
247+
- Joss: [Axelrod1980]_
248+
- Hard Joss: [Stewart2012]_
249249
"""
250250

251251
name = "Joss"
@@ -504,7 +504,7 @@ class SteinAndRapoport(Player):
504504
505505
Names:
506506
507-
- SteinAndRapoport [Axelrod1980]_
507+
- SteinAndRapoport: [Axelrod1980]_
508508
"""
509509

510510
name = 'Stein and Rapoport'

axelrod/strategies/finite_state_machines.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ class Pun1(FSMPlayer):
224224
"""FSM player described in [Ashlock2006].
225225
226226
Names:
227-
- Pun1 [Ashlock2006]_
227+
228+
- Pun1: [Ashlock2006]_
228229
"""
229230

230231
name = 'Pun1'

axelrod/strategies/memorytwo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class MEM2(Player):
1616
1717
Names:
1818
19-
- MEM2 [Li2014]_
19+
- MEM2: [Li2014]_
2020
"""
2121

2222
name = 'MEM2'

axelrod/strategies/prober.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CollectiveStrategy(Player):
1717
1818
Names:
1919
20-
- Collective Strategy [Li2009]_
20+
- Collective Strategy: [Li2009]_
2121
2222
"""
2323

@@ -53,7 +53,7 @@ class Prober(Player):
5353
5454
Names:
5555
56-
- Prober [Li2011]_
56+
- Prober: [Li2011]_
5757
"""
5858

5959
name = 'Prober'

axelrod/strategies/titfortat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class SpitefulTitForTat(Player):
607607
608608
Names:
609609
610-
- Spiteful Tit For Tat [Prison1998]_
610+
- Spiteful Tit For Tat: [Prison1998]_
611611
"""
612612

613613
name = 'Spiteful Tit For Tat'

0 commit comments

Comments
 (0)