forked from app-sre/qontract-reconcile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (33 loc) · 832 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
[tox]
envlist =
format
lint
type
py39
[testenv]
commands =
pytest {posargs:--cov=reconcile --cov-report=term-missing --cov-report xml}
deps = -r{toxinidir}/requirements/requirements-test.txt
parallel_show_output = true
[testenv:format]
skip_install = true
commands = black {posargs:--check reconcile tools e2e_tests}
deps = -r{toxinidir}/requirements/requirements-format.txt
[testenv:lint]
commands =
flake8 reconcile tools e2e_tests
pylint --extension-pkg-whitelist='pydantic' reconcile tools e2e_tests
[testenv:type]
commands = mypy {posargs}
deps = -r{toxinidir}/requirements/requirements-type.txt
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
coverage xml
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase