Skip to content

Commit 4231553

Browse files
abncrobinso
authored andcommitted
Ignore tox environment files in coverage
1 parent 3409439 commit 4231553

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def run(self):
4949
usecov = False
5050

5151
if usecov:
52-
cov = coverage.coverage(omit=["/*/tests/*", "/usr/*", "*dev-env*"])
52+
cov = coverage.coverage(omit=[
53+
"/*/tests/*", "/usr/*", "*dev-env*", "*.tox/*"])
5354
cov.erase()
5455
cov.start()
5556

0 commit comments

Comments
 (0)