Skip to content

Commit 087ed06

Browse files
jurko-gospodneticgaborbernat
authored andcommitted
pass the PROGRAMDATA environment variable when invoking fix-lint (tox-dev#709)
This fixes `error setting certificate verify locations` errors when cloning a git repo using git for Windows.
1 parent 9f4cf09 commit 087ed06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ commands = sphinx-build -d {toxworkdir}/docs_doctree doc {toxworkdir}/docs_out -
2828
basepython = python3.6
2929
passenv = {[testenv]passenv}
3030
HOMEPATH
31+
# without PROGRAMDATA cloning using git for Windows will fail with an
32+
# `error setting certificate verify locations` error
33+
PROGRAMDATA
3134
extras = lint
3235
description = run static analysis and style check using flake8
3336
commands = python -m flake8 --show-source tox setup.py {posargs}

0 commit comments

Comments
 (0)