-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
40 lines (36 loc) · 716 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
[tox]
envlist = pylint,flake8,{py37,py38,py39,py310}-test
skip_missing_interpreters = true
[testenv]
basepython = python3
setenv =
package = iotlab_controller
deps =
test: {[testenv:test]deps}
pylint: {[testenv:pylint]deps}
flake8: {[testenv:flake8]deps}
commands =
test: {[testenv:test]commands}
pylint: {[testenv:pylint]commands}
flake8: {[testenv:flake8]commands}
[testenv:test]
deps =
pytest
pytest-cov
pytest-mock
.[all]
commands =
pytest {posargs}
[testenv:pylint]
deps =
pylint
pytest
.[all]
commands =
pylint {envsitepackagesdir}/{env:package}
[testenv:flake8]
deps =
flake8
.[all]
commands =
flake8