Closed gliptak closed 1 year ago
This is a breaking change in Tox 4 https://github.com/tox-dev/tox/issues/2615
I'd rather we just split these over new lines
splitting to multiple lines fails with below
https://github.com/gliptak/bandit/actions/runs/4097526333/jobs/7065963353
configparser.DuplicateOptionError: While reading from '/home/runner/work/bandit/bandit/tox.ini' [line 20]: option 'passenv' in section 'testenv' already exists
Sounds like you didn't read the issue or split the values appropriately because it should work as
passenv =
Var
OtherVar
Etc
@sigmavirus24 thank you for the pointer, that format worked
https://github.com/gliptak/bandit/actions/runs/4098703824/jobs/7068010528
HEAD is green https://github.com/PyCQA/bandit/actions/runs/4149444489
Signed-off-by: Gábor Lipták gliptak@gmail.com
https://github.com/PyCQA/bandit/actions/runs/3839481628/jobs/6537302402
https://packaging-guide.openastronomy.org/en/latest/tox.html?highlight=passenv#environment-variables