forked from open-edge-platform/datumaro
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathtox.ini
More file actions
47 lines (38 loc) · 845 Bytes
/
tox.ini
File metadata and controls
47 lines (38 loc) · 845 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
41
42
43
44
45
46
47
[tox]
isolated_build = true
skip_missing_interpreters = true
[testenv]
passenv =
USERNAME
LOCALAPPDATA
setenv =
MPLBACKEND=agg
deps =
-r{toxinidir}/tests/requirements.txt
extras =
default
tf
tfds
[testenv:pre-commit]
basepython = python3
deps =
pre-commit
commands = pre-commit run --show-diff-on-failure --color=always --all-files
[testenv:build-docs]
deps =
-r{toxinidir}/docs/requirements.txt
use_develop = true
change_dir = {toxinidir}/docs
allowlist_externals =
make
commands =
make clean
make html
[testenv:bandit-scan]
deps =
bandit
commands =
bandit -r -c .ci/ipas_default.config {toxinidir}/ -f txt -o {toxworkdir}/bandit-report.txt
[testenv:tests-py{310,311,312}-{lin,win,mac}]
commands =
python -m pytest -v --csv={toxworkdir}/results-{envname}.csv {posargs:tests}