forked from optuna/optuna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
114 lines (99 loc) · 2.78 KB
/
tox.ini
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[tox]
envlist =
test-{py36,py37,py38,py39,py310}
integration-test-{py36,py37,py38,py39,py310}
isort
flake8
black
blackdoc
mypy
[testenv:test-py36]
basepython = python3.6
extras =
tests
optional
deps =
scikit-optimize
cma
commands = pytest tests --ignore tests/integration_tests {posargs}
[testenv:test-py37]
basepython = python3.7
extras =
tests
optional
deps =
scikit-optimize
cma
commands = pytest tests --ignore tests/integration_tests {posargs}
[testenv:test-py38]
basepython = python3.8
extras =
tests
optional
deps =
scikit-optimize
cma
commands = pytest tests --ignore tests/integration_tests {posargs}
[testenv:test-py39]
basepython = python3.9
extras =
tests
optional
deps =
scikit-optimize
cma
commands = pytest tests --ignore tests/integration_tests {posargs}
[testenv:test-py310]
basepython = python3.10
extras =
tests
optional
deps =
scikit-optimize
cma
commands = pytest tests --ignore tests/integration_tests {posargs}
[testenv:integration-test-py36]
basepython = python3.6
extras =
tests
integration
commands = pytest tests/integration_tests --ignore tests/integration_tests/allennlp_tests/ --ignore tests/integration_tests/test_botorch.py --ignore tests/integration_tests/test_keras.py --ignore tests/integration_tests/test_tensorboard.py --ignore tests/integration_tests/test_tensorflow.py --ignore tests/integration_tests/test_tfkeras.py {posargs}
[testenv:integration-test-py37]
basepython = python3.7
extras =
tests
integration
commands = pytest -s tests/integration_tests {posargs}
[testenv:integration-test-py38]
basepython = python3.8
extras =
tests
integration
commands = pytest -s tests/integration_tests {posargs}
[testenv:integration-test-py39]
basepython = python3.9
extras =
tests
integration
commands = pytest -s tests/integration_tests {posargs}
[testenv:integration-test-py310]
basepython = python3.10
extras =
tests
integration
commands = pytest -s tests/integration_tests --ignore tests/integration_tests/allennlp_tests/ --ignore tests/integration_tests/test_botorch.py --ignore tests/integration_tests/test_catalyst.py --ignore tests/integration_tests/test_fastaiv2.py --ignore tests/integration_tests/test_pytorch_distributed.py --ignore tests/integration_tests/test_pytorch_ignite.py --ignore tests/integration_tests/test_pytorch_lightning.py --ignore tests/integration_tests/test_skorch.py {posargs}
[testenv:flake8]
deps = flake8
commands = flake8 . {posargs}
[testenv:isort]
deps = isort
commands = isort . --check --diff {posargs}
[testenv:black]
deps = black
commands = black . --check --diff {posargs}
[testenv:blackdoc]
deps = blackdoc
commands = blackdoc . --check --diff {posargs}
[testenv:mypy]
deps = mypy
commands = mypy . {posargs}