forked from ManageIQ/manageiq-v2v-conversion_host
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (32 loc) · 788 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
[tox]
skipsdist=True
envlist = yamllint,flake8,py{36,37,38,39}-wrapper,pylint
skip_missing_interpreters=True
[flake8]
exclude = .git,.eggs,.tox,__pycache__,venv,build,dist
[testenv]
setenv =
PYTHONPATH={toxinidir}/wrapper/tests/mocks/
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
commands = {toxinidir}/wrapper/tests/run_tests.sh
[testenv:yamllint]
commands = yamllint -c {toxinidir}/.yamllint {toxinidir}/
[testenv:flake8]
commands = flake8 --statistics {posargs} .
[testenv:pylint]
commands = pylint wrapper
[testenv:ksvalidator]
deps =
pykickstart==3.7
ordered_set
requests
six
whitelist_externals =
bash
commands = bash -c "\
for ks in extras/conversion-vm/*.ks ; do \
ksvalidator --followincludes "$ks" ; \
done ; \
"