376c2ba0d0
We update the upper bound in testing from python3.10 to python3.11 to match. This will allow the opendev team to clean up old bullseye images and look ahead to python3.12. Change-Id: I5321b2e75b4cf50f9342efa13fd4ef37cf87e1e0
20 lines
468 B
INI
20 lines
468 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8, py38, py311
|
|
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
|