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.
This commit is contained in:
Chad Whitacre 2020-07-31 07:41:33 -04:00
parent 9e4eda6912
commit 2a6cd8eb58
2 changed files with 3 additions and 1 deletions

0
newsfragments/3366.minor Normal file
View File

View File

@ -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 =