blob: 421d62134a70677f4bf5adede7e06be58435b63f (
plain)
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
|
[tox]
envlist = pep8,yamllint,bashate,pylint
[testenv]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:yamllint]
basepython = python3
files =
INFO.yaml
tools
commands =
yamllint -s {[testenv:yamllint]files} -c {toxinidir}/yamllintrc
[testenv:bashate]
basepython = python3
files =
ci/build-cirv.sh
commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
[testenv:pylint]
basepython = python3
commands =
pylint tools
|