You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2023/01/02 11:44:40 UTC

[libcloud] 03/05: Update tox config for tox v4.x.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 058233de802e7492e2544f1eaf7ffca0c56d746a
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jan 2 12:29:41 2023 +0100

    Update tox config for tox v4.x.
---
 tox.ini | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/tox.ini b/tox.ini
index 19e7d3660..8593480a5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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 =