tox: Bump minimum version, remove legacy crud
tox 4 is everywhere now and uses sane behavior for Python conflicts. Change-Id: I4b318b7f7c514fe599879c364d29c275522cdd9b Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
11
tox.ini
11
tox.ini
@@ -1,16 +1,10 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.18.0
|
minversion = 4.4
|
||||||
envlist = pep8,py39,releasenotes,npm,py3-dj42
|
envlist = pep8,py3,releasenotes,npm,py3-dj42
|
||||||
# Automatic envs (pyXX) will only use the python version appropriate to that
|
|
||||||
# env and ignore basepython inherited from [testenv] if we set
|
|
||||||
# ignore_basepython_conflict.
|
|
||||||
ignore_basepython_conflict = True
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV = {envdir}
|
|
||||||
PYTHONDONTWRITEBYTECODE = 1
|
PYTHONDONTWRITEBYTECODE = 1
|
||||||
# TODO(amotoki): Consider dropping PendingDeprecationWarning
|
# TODO(amotoki): Consider dropping PendingDeprecationWarning
|
||||||
# handle deprecated Django features earlier.
|
# handle deprecated Django features earlier.
|
||||||
@@ -236,7 +230,6 @@ max-line-length = 80
|
|||||||
# - Ignore since we allow lines in excess of 79 characters.
|
# - Ignore since we allow lines in excess of 79 characters.
|
||||||
ignore = D000,D001
|
ignore = D000,D001
|
||||||
|
|
||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
markers =
|
markers =
|
||||||
selenium: Mark for selenium tests
|
selenium: Mark for selenium tests
|
||||||
|
Reference in New Issue
Block a user