Skip to content

Commit b74c0c5

Browse files
committed
Merge with head
2 parents fe3b83b + 894ebb7 commit b74c0c5

File tree

17 files changed

+186
-202
lines changed

17 files changed

+186
-202
lines changed

.github/workflows/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,28 @@ jobs:
3434
python -m pip install docutils==0.12
3535
python -m pip install mock
3636
cd docs; make clean; make html; cd ..;
37-
- name: Install testing dependencies
37+
- name: Run tests
3838
run: |
3939
python -m pip install coverage
4040
python -m pip install hypothesis==3.2
41-
python -m pip install mypy
42-
- name: Run tests
43-
run: |
4441
coverage run --source=axelrod -m unittest discover
4542
- name: Report coverage
4643
run: |
4744
coverage report -m --fail-under=100
48-
- name: Run doctest
45+
- name: Run doctests
4946
run: |
5047
python doctests.py
5148
- name: Run static type checker
5249
run: |
50+
python -m pip install mypy
5351
python run_mypy.py
5452
- name: Check that all strategies are indexed
5553
run: |
5654
python run_strategy_indexer.py
55+
- name: Check that strategies are added to axelrod.all_strategies
56+
run: |
57+
python -m pip install pylint
58+
python -m pylint --disable=all --enable=unused-import axelrod/strategies/_strategies.py
5759
- name: Check that installs
5860
run: |
5961
python setup.py install

axelrod/data/all_classifiers.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,8 @@ Mind Controller:
10801080
Mind Reader:
10811081
inspects_source: true
10821082
long_run_time: false
1083-
makes_use_of: !!set {}
1083+
makes_use_of: !!set
1084+
game: null
10841085
manipulates_source: false
10851086
manipulates_state: false
10861087
memory_depth: .inf
@@ -1213,6 +1214,14 @@ Opposite Grudger:
12131214
manipulates_state: false
12141215
memory_depth: .inf
12151216
stochastic: false
1217+
Original Gradual:
1218+
inspects_source: false
1219+
long_run_time: false
1220+
makes_use_of: !!set {}
1221+
manipulates_source: false
1222+
manipulates_state: false
1223+
memory_depth: .inf
1224+
stochastic: false
12161225
PSO Gambler 1_1_1:
12171226
inspects_source: false
12181227
long_run_time: false
@@ -1288,7 +1297,8 @@ Prober 4:
12881297
Protected Mind Reader:
12891298
inspects_source: true
12901299
long_run_time: false
1291-
makes_use_of: !!set {}
1300+
makes_use_of: !!set
1301+
game: null
12921302
manipulates_source: true
12931303
manipulates_state: false
12941304
memory_depth: .inf

0 commit comments

Comments
 (0)