forked from SilvairGit/python-bluetooth-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (28 loc) · 604 Bytes
/
tox.ini
File metadata and controls
33 lines (28 loc) · 604 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
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py36,py37,pypy3,black,isort,pylint
[testenv]
setenv =
PYTEST_ADDOPTS = --cov
commands = python setup.py test
[testenv:black]
skip_install = true
deps = black
commands = black bluetooth_mesh
[testenv:isort]
skip_install = true
deps =
isort[pyproject]
black
commands = isort -rc bluetooth_mesh
[testenv:pylint]
extras = tools
deps =
isort[pyproject]
pylint<2.5
pytest
commands = pylint --exit-zero bluetooth_mesh
[testenv:docs]
extras = docs
deps = sphinx
commands = make -C docs html