-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
58 lines (49 loc) · 985 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tox]
envlist =
py38,
pycodestyle
pydocstyle,
docs
[testenv]
commands =
python -c "import shutil, os.path; shutil.rmtree('_build') if os.path.isdir('_build') else None"
py.test --pylint --pylint-rcfile={toxinidir}/.pylintrc cbl_particle_filter
[py]
deps=
pytest-cov
pytest-flake8
pytest-pylint
pytest-random
pytest-remove-stale-bytecode
[pycodetyle]
show-source=True
statistics=True
exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,setup.py,docs
[testenv:py37]
deps=
{[py]deps}
basepython = python3.7
[testenv:py38]
deps=
{[py]deps}
basepython = python3.8
[testenv:pypy3]
deps=
{[py]deps}
basepython = pypy3
[testenv:pycodestyle]
deps=
{[py]deps}
pycodestyle
basepython = python3.8
commands = pycodestyle --first
[testenv:pydocstyle]
deps=
pydocstyle
commands = pydocstyle cbl_particle_filter
basepython = python3.8
[testenv:docs]
deps=
Sphinx
sphinx_rtd_theme
commands = python setup.py build_sphinx