Broader git ignore for pytest cache files (#5361)

Make gitignore take pytest cache directories in to account, even if
they reside in subdirectories.

If pytest is run for a certain module, ie. `pytest certbot-apache` the
cache directory is created under `certbot-apache` directory.
This commit is contained in:
Joona Hoikkala 2018-01-05 21:08:38 +02:00 committed by Jacob Hoffman-Andrews
parent a3a66cd25d
commit a1713c0b79

2
.gitignore vendored
View file

@ -37,4 +37,4 @@ tests/letstest/venv/
.venv
# pytest cache
/.cache
.cache