Skip to content

Commit 4071518

Browse files
committed
Don't track code coverage temporary files
While running tests with coverage enabled, files of the form .coverage.MachineName.####.###### are created temporarily. When tests complete normally (whether or not there are failures), these files are automatically removed. However, when tests are cancelled with SIGINT (Ctrl+C), they are sometimes retained. This adds another pattern to .gitignore so that, in addition to not tracking the .coverage file that is retained after tests, these other temporary files are also not tracked.
1 parent d46ba96 commit 4071518

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ venv/
99
/lib/GitPython.egg-info
1010
cover/
1111
.coverage
12+
.coverage.*
1213
/build
1314
/dist
1415
/doc/_build

0 commit comments

Comments
 (0)