Skip to content

Commit 666707d

Browse files
committed
tell covecov to ignore tests, pycache, and temp dir
1 parent b2fd64a commit 666707d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ include = ["*"] # package names should match these glob patterns (["*"] by defa
4848
exclude = [] # exclude packages matching these glob patterns (empty by default)
4949
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
5050

51+
[tool.coverage.run]
52+
omit = [
53+
"*/tests/*",
54+
"*/examples_copy*/*",
55+
"*/__pycache__/*",
56+
]
57+
5158
[project.scripts]
5259
cmi = "diffpy.cmi.cli:main"
5360

0 commit comments

Comments
 (0)