Update tox config for tox v4.x.
@@ -5,7 +5,11 @@ requires =
wheel
[testenv]
-passenv = TERM CI GITHUB_* DOCKER_*
+passenv =
+ TERM
+ CI
+ GITHUB_*
+ DOCKER_*
deps =
-r{toxinidir}/requirements-tests.txt
allowlist_externals =
@@ -169,7 +173,13 @@ deps = requests
tqdm
setenv =
PYTHONPATH={toxinidir}
-passenv = TERM GCE_API_KEY PRICING_DATA_BUCKET_NAME AWS_REGION AWS_ACCESS_KEY_ID AWS_ACCESS_KEY_SECRET
+passenv =
+ TERM
+ GCE_API_KEY
+ PRICING_DATA_BUCKET_NAME
+ AWS_REGION
+ AWS_ACCESS_KEY_ID
+ AWS_ACCESS_KEY_SECRET
commands =
python contrib/scrape-gce-prices.py --all
python contrib/scrape-gce-prices.py
@@ -191,7 +201,9 @@ basepython: python3.8
deps = requests
jsonnet
ijson
-passenv = TERM GCE_API_KEY
+passenv =
+ TERM
+ GCE_API_KEY
whitelist_externals = sha512sum
bash
commands =
@@ -296,7 +308,11 @@ deps = -r{toxinidir}/integration/compute/requirements.txt
commands = python -m integration.compute
[testenv:integration-storage]
-passenv = AZURE_CLIENT_SECRET AWS_ACCESS_KEY_ID AWS_ACCESS_KEY_SECRET GITHUB_*
+passenv =
+ AZURE_CLIENT_SECRET
+ AWS_ACCESS_KEY_ID
+ AWS_ACCESS_KEY_SECRET
+ GITHUB_*
setenv =
AZURE_CLIENT_ID=16cd65a3-dfa2-4272-bcdb-842cbbedb1b7
@@ -317,7 +333,11 @@ commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
[testenv:coverage-ci]
-passenv = TERM TOXENV CI GITHUB_*
+passenv =
+ TERM
+ TOXENV
+ CI
+ GITHUB_*
deps =
-r{toxinidir}/requirements-tests.txt
setenv =
