From 8d5a19aa3ab5b1ff195eeb5a4359705655be90cf Mon Sep 17 00:00:00 2001 From: Alexander Voronov Date: Thu, 26 Oct 2023 21:18:57 +0300 Subject: [PATCH] Fix tox.ini passenv values When you try to read with tox 4.11.1 (tox -e read) it generates error: >> read: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'CI PYTHON PYTHONIOENCODING' This commit splits by lines passenv values and thus avoids the error. --- tox.ini | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 7466482..e49481e 100644 --- a/tox.ini +++ b/tox.ini @@ -98,7 +98,10 @@ commands = cp210x-program.py --version [testenv:readhex] -passenv = CI PYTHON PYTHONIOENCODING +passenv = + CI + PYTHON + PYTHONIOENCODING skip_install = true allowlist_externals = @@ -115,7 +118,10 @@ commands = cp210x-program.py --read-cp210x -f readhex.out [testenv:read] -passenv = CI PYTHON PYTHONIOENCODING +passenv = + CI + PYTHON + PYTHONIOENCODING skip_install = true allowlist_externals =