From 2a6cd8eb58f273c721725bb8eeb265fb6425a472 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Fri, 31 Jul 2020 07:41:33 -0400 Subject: [PATCH] Get `tox -e codechecks` to work (on macOS?) Without this, git fails underneath towncrier with an "error: Could not expand include path '~/.gitcinclude'". See: https://stackoverflow.com/q/36908041 I had added similar for `tox -e py36` in d25c8b1a. --- newsfragments/3366.minor | 0 tox.ini | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 newsfragments/3366.minor diff --git a/newsfragments/3366.minor b/newsfragments/3366.minor new file mode 100644 index 000000000..e69de29bb diff --git a/tox.ini b/tox.ini index ab467abd0..4356cfd24 100644 --- a/tox.ini +++ b/tox.ini @@ -49,7 +49,7 @@ commands = tahoe --version [testenv:py36] -# git inside of ratchet.sh needs $HOME. +# On macOS, git inside of ratchet.sh needs $HOME. passenv = HOME commands = {toxinidir}/misc/python3/ratchet.sh @@ -77,6 +77,8 @@ commands = coverage xml [testenv:codechecks] +# On macOS, git inside of towncrier needs $HOME. +passenv = HOME whitelist_externals = /bin/mv commands =