aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 5fafde14584b768486f2cf4c07e70f2cde930b27 (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
[tox]
envlist = pep8,yamllint,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
  sdv
commands =
  yamllint -s {[testenv:yamllint]files} -c {toxinidir}/yamllintrc

[testenv:pylint]
basepython = python3
commands =
  pylint sdv