-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
27 lines (21 loc) · 588 Bytes
/
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
[pytest]
oscript_launch_mode = subprocess
#addopts= -s
[darglint]
docstring_style=google
# ignore test functions
ignore_regex=^test_(.*)
message_template=In {path}:{line} in {obj} :: {msg_id}: {msg}
[tox]
# check: https://tox.readthedocs.io/en/latest/config.html#generating-environments-conditional-settings
envlist = py{36,37,38,py3}-torch{1.5.0, 1.4.0, 1.3.0}
[testenv]
deps =
{toxinidir}
pytest
torch1.5.0: torch==1.5.0
torch1.4.0: torch==1.4.0
torch1.3.0: torch==1.3.0
changedir={toxinidir}/allennlp-models-structured-prediction/tests
commands =
pytest