tox: interleave passenv comments

This commit is contained in:
Sean Breckenridge 2023-01-30 15:19:57 -08:00
parent 98fccdb1ad
commit 703e7c67a2

View file

@ -4,12 +4,12 @@ minversion = 3.5
# hack to prevent .tox from crapping to the project directory # hack to prevent .tox from crapping to the project directory
toxworkdir={env:TOXWORKDIR_BASE:}{toxinidir}/.tox toxworkdir={env:TOXWORKDIR_BASE:}{toxinidir}/.tox
# useful for tests to know they are running under ci
# respect user's cache dirs to prevent tox from crapping into project dir
[testenv] [testenv]
passenv = passenv =
# useful for tests to know they are running under ci
CI CI
CI_* CI_*
# respect user's cache dirs to prevent tox from crapping into project dir
MYPY_CACHE_DIR MYPY_CACHE_DIR
PYTHONPYCACHEPREFIX PYTHONPYCACHEPREFIX