Skip to content

Commit dc1fb1b

Browse files
authored
Do not include tests when calculating coverage (#482)
* Do not include tests when calculating coverage * Change it to skip the whole tests dir
1 parent f9034ac commit dc1fb1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,6 @@ module=[
136136
"xarray.core.pycompat",
137137
]
138138
ignore_missing_imports = true
139+
140+
[tool.coverage.run]
141+
omit = ["*/tests/*"]

0 commit comments

Comments
 (0)