036e3adc73
Tox v4 released and has introduced a number of compatibility problems. Nox is an alternative to nox that is much simpler and uses standard tools and zuul repos are switching to it. This change updates zuul-registry. Change-Id: I588842a0c47d0591b6dacbe28e96915e1b15819e
23 lines
370 B
INI
23 lines
370 B
INI
[tox]
|
|
minversion = 3.2
|
|
skipsdist = True
|
|
envlist = pep8,py37
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
stestr run {posargs}
|
|
stestr slowest
|
|
|
|
[testenv:pep8]
|
|
install_command = pip install {opts} {packages}
|
|
commands =
|
|
flake8 {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|