From 98fccdb1add10d0faaeb4c9a938ff9cf96d7b8d1 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Sun, 29 Jan 2023 12:06:08 -0800 Subject: [PATCH] tox/passenv: move comments above block --- tox.ini | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 570a61c..bcacef3 100644 --- a/tox.ini +++ b/tox.ini @@ -4,12 +4,14 @@ minversion = 3.5 # hack to prevent .tox from crapping to the project directory 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] passenv = - # useful for tests to know they are running under ci - CI CI_* - # respect user's cache dirs to prevent tox from crapping into project dir - MYPY_CACHE_DIR PYTHONPYCACHEPREFIX + CI + CI_* + MYPY_CACHE_DIR + PYTHONPYCACHEPREFIX # just the very core tests with minimal dependencies