
We're trying to move from python3.11 to 3.12 within OpenDev. This is one of many similar changes to uplift services. No specific feature or need; just keeping up with python so we don't fall too far behind. Change-Id: Ic6d5871f1393eb38a33c6172d3ae6519075c3037
20 lines
469 B
INI
20 lines
469 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8, py311, py312
|
|
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
|