-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
42 lines (36 loc) · 884 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, py{38,39,310,311,312}, 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