-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtox.ini
49 lines (43 loc) · 774 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
[tox]
envlist = clean, flake8, pylint, pydocstyle,
py27, py34, py35, py36, py37, py38, py39, py310,
stats
skip_missing_interpreters = False
[testenv]
commands = pytest --cov=nagiosplugin --cov-report=html --cov-append tests/
deps =
pytest
pytest-cov
usedevelop = True
[testenv:flake8]
commands =
flake8
deps =
flake8
usedevelop = True
ignore_errors = True
[testenv:pylint]
commands =
pylint nagiosplugin
deps =
pylint
numpy
usedevelop = True
ignore_errors = True
[testenv:pydocstyle]
commands =
pydocstyle nagiosplugin tests
deps =
pydocstyle
usedevelop = True
ignore_errors = True
[testenv:clean]
commands = coverage erase
deps = coverage
skip_install = True
[testenv:stats]
commands =
coverage report
coverage html
deps = coverage
skip_install = True