Skip to content

Commit

Permalink
Merge 5d97d35 into 560a895
Browse files Browse the repository at this point in the history
  • Loading branch information
drvinceknight committed Oct 30, 2018
2 parents 560a895 + 5d97d35 commit e2c1f71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions axelrod/strategies/human.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
from axelrod.action import Action
from axelrod.player import Player
from prompt_toolkit import prompt
from prompt_toolkit.styles import Style
from prompt_toolkit.styles import style_from_dict
from prompt_toolkit.token import Token
from prompt_toolkit.validation import ValidationError, Validator
from pygments.token import Token

C, D = Action.C, Action.D

toolbar_style = Style.from_dict({"pygments.toolbar": "#ffffff bg:#333333"})
toolbar_style = style_from_dict({Token.Toolbar: "#ffffff bg:#333333"})


class ActionValidator(Validator):
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ hypothesis==3.2
matplotlib>=2.0.0,<3.0.0
numpy>=1.9.2
pandas>=0.18.1
prompt-toolkit>=2.0.0
pygments>=2.0.0
prompt-toolkit>=1.0.7,<2.0.0
scipy>=0.19.0
toolz>=0.8.0
tqdm>=3.4.0

0 comments on commit e2c1f71

Please sign in to comment.