forked from rfverbruggen/rachiopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (36 loc) · 885 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist = clean, py36, py37, py38, py39, pylint, flake8, pydocstyle, stats
ignore_basepython_conflict = true
[testenv:clean]
commands=
coverage erase
[testenv]
basepython = {env:PYTHON3_PATH:python3}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_test.txt
commands =
{envbindir}/python -m unittest discover -v []
coverage run -a setup.py test
[testenv:pylint]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_test.txt
commands =
pylint {posargs} rachiopy tests
[testenv:flake8]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_test.txt
commands =
flake8 {posargs}
[testenv:pydocstyle]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_test.txt
commands =
pydocstyle {posargs:rachiopy tests}
[testenv:stats]
commands=
coverage report
coverage html