Open adamchainz opened 1 year ago
Sounds good to me. Let's wait for feedback whether the other maintainers have any objections.
Go for it!
FWIW - the virtual environments below .tox
already come with a .gitignore
, automatically created by virtualenv.
However, if an interpreter is missing, a .tox-info.json
file is still created, as I discovered when I ran a test suite but didn't have a few PyPy versions installed:
.tox/pypy38/.tox-info.json
.tox/pypy39/.tox-info.json
A top-level .gitignore
in .tox/
is still desirable.
Some testing tools add a
.gitignore
with a*
rule into the temporary directories they create. This saves projects needing to add a pattern to their Git ignore file, and prevents accidents where such a pattern is missing. For example, Coverage.py does so, since version 6.1.Perhaps tox could do the same when creating a
.tox
directory?