From 06a3b50dd6a08cf42cb8a983e9ca2b64ba4df641 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Wed, 28 Aug 2024 19:08:47 +0000 Subject: [PATCH] tox.ini: use a pytest --basetemp with spaces This catches quoting bugs that were just fixed by removing shlex in the previous commit. Signed-off-by: Marc Herbert --- tox.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 8dfe5bd..7983960 100644 --- a/tox.ini +++ b/tox.ini @@ -34,8 +34,9 @@ deps = flake8 mypy setenv = + # For instance: ./.tox/py3/tmp/ TOXTEMPDIR={envtmpdir} commands = - python -m pytest --cov=west {posargs:tests} - python -m flake8 --config={toxinidir}/tox.ini {toxinidir} - python -m mypy --config-file={toxinidir}/tox.ini --package=west + python -m pytest --cov=west {posargs:tests} --basetemp='{envtmpdir}/pytest with space/' + python -m flake8 --config='{toxinidir}'/tox.ini '{toxinidir}' + python -m mypy --config-file='{toxinidir}'/tox.ini --package=west