-
Notifications
You must be signed in to change notification settings - Fork 285
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (36 loc) · 726 Bytes
/
tox.ini
File metadata and controls
40 lines (36 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
isolated_build = True
envlist = py311, py312
[gh-actions]
python =
3.11: py311
3.12: py312
[flake8]
per-file-ignores =
setup.py: F821
docs/_build/*: ALL
docs/conf.py: E402
**/__init__.py: F401 F403
ignore =
E203
E501
W291
W503
[testenv]
deps =
hypothesis
pytest-cov
pytest-randomly
pytest-sugar
isort
black
numpy==1.26.4
torch==2.6.0
mypy
types-setuptools
commands =
python -m pytest --cov-report term-missing --cov=axelrod --cov-fail-under=100 . --doctest-glob="*.md" --doctest-glob="*.rst"
python -m black -l 80 . --check
python -m isort --check-only axelrod/.
python run_mypy.py
python run_strategy_indexer.py