lodgeit/tox.ini
Clark Boylan 376c2ba0d0 Update lodgeit container image to Python3.11 on Bookworm
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
2023-10-09 13:40:43 -07:00

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