summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2022-12-15 09:29:38 -0800
committerDmitry Tantsur <dtantsur@protonmail.com>2023-03-06 12:04:06 +0100
commit9977805eb43b50f3d841bcb1c270a8f041d4f47f (patch)
treedb9bd5f70bdba4542dd728e7e796e8bec8d5093a
parente590dd838389fb937c78a86ef35338b45e03185e (diff)
downloadironic-9977805eb43b50f3d841bcb1c270a8f041d4f47f.tar.gz
Fixes for tox 4.0
Formatting changes in config file required for tox 4.0. Change-Id: I84202ac10e9195647162f0b5737ebb610ef1ef93 (cherry picked from commit ef772c2c1e84769a982c54ec8832e2a06b8f1911)
-rw-r--r--tox.ini12
1 files changed, 9 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 391e797ba..97ea9f707 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,5 @@
[tox]
minversion = 3.18.0
-skipsdist = True
envlist = py3,pep8
ignore_basepython_conflict=true
@@ -8,7 +7,7 @@ ignore_basepython_conflict=true
usedevelop = True
basepython = python3
setenv = VIRTUAL_ENV={envdir}
- PYTHONDONTWRITEBYTECODE = 1
+ PYTHONDONTWRITEBYTECODE=1
LANGUAGE=en_US
LC_ALL=en_US.UTF-8
PYTHONUNBUFFERED=1
@@ -19,7 +18,12 @@ deps =
-r{toxinidir}/test-requirements.txt
commands =
stestr run --slowest {posargs}
-passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
+passenv = http_proxy
+ HTTP_PROXY
+ https_proxy
+ HTTPS_PROXY
+ no_proxy
+ NO_PROXY
[testenv:unit-with-driver-libs]
deps = {[testenv]deps}
@@ -40,6 +44,8 @@ deps=
Pygments>=2.2.0 # BSD
bashate>=0.5.1 # Apache-2.0
allowlist_externals = bash
+ {toxinidir}/tools/run_bashate.sh
+ {toxinidir}/tools/check-releasenotes.py
commands =
bash tools/flake8wrap.sh {posargs}
# Run bashate during pep8 runs to ensure violations are caught by