From 9977805eb43b50f3d841bcb1c270a8f041d4f47f Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Thu, 15 Dec 2022 09:29:38 -0800 Subject: Fixes for tox 4.0 Formatting changes in config file required for tox 4.0. Change-Id: I84202ac10e9195647162f0b5737ebb610ef1ef93 (cherry picked from commit ef772c2c1e84769a982c54ec8832e2a06b8f1911) --- tox.ini | 12 +++++++++--- 1 file 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 -- cgit v1.2.1