Don’t version control Pytest cache

Pytest moved its cache from `./.cache` (which is in our `.gitignore`) to
`./.pytest_cache` (which isn’t).

It’s annoying having to be careful not to commit it all the time, so
this commit makes it ignored.

See https://github.com/pytest-dev/pytest/issues/3286 for more context.
This commit is contained in:
Chris Hill-Scott
2018-09-03 09:33:04 +01:00
parent a1e06efefe
commit 7d951ad1f3

1
.gitignore vendored
View File

@@ -40,6 +40,7 @@ htmlcov/
.coverage
.coverage.*
.cache
.pytest_cache
coverage.xml
test_results.xml
*,cover