
Python 3.6 is sufficiently old at this point that we don't need to keep testing on it. This will reduce the number of things we need to tend and care for with this application and service. Change-Id: Iadea5270f54631ef72a68a37073fd8d337bc4c5c
20 lines
468 B
INI
20 lines
468 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8, py38, py310
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = stestr --test-path ./tests/unittest run --no-subunit-trace {posargs}
|
|
stestr slowest
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[flake8]
|
|
show-source = true
|
|
max-line-length = 80
|
|
exclude = ENV,.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
|