-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
70 lines (66 loc) · 1.18 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
[tox]
envlist = docs,coverage,.python{37,38,39}
[testenv]
usedevelop = True
description =
.python{37,38,39}: Run unit tests against {envname}.
passenv =
TOXENV
CI
TRAVIS
TRAVIS_*
deps =
pytest
coverage
codecov
pytest-cov
validator-collection
simplejson
pandas
pyreadstat
PyYaml
openpyxl
commands =
pytest {posargs}
codecov -e TOXENV
[testenv:pylint]
description =
Run source code analyzer.
deps =
pylint
{[testenv]deps}
commands =
pylint --rcfile {toxinidir}/.pylintrc spss_converter
[testenv:coverage]
description =
Run code coverage checks.
setenv =
PYTEST_ADDOPTS = --cov ./spss_converter --cov-config {toxinidir}/setup.cfg
deps =
pytest
pytest-cov
coverage
codecov
PyYaml
simplejson
validator-collection
pandas
pyreadstat
PyYaml
openpyxl
commands =
{[testenv]commands}
coverage report
[testenv:docs]
description =
Build documentation.
basepython = python
changedir = docs
deps =
Jinja2 == 2.11.2
MarkupSafe == 1.1.1
sphinx == 3.4.3
sphinx_rtd_theme == 0.5.1
sphinx_tabs == 1.3.0
commands =
sphinx-build -nT -b dummy . _build/html