Skip to content

Commit

Permalink
Do not include tests when calculating coverage (#482)
Browse files Browse the repository at this point in the history
* Do not include tests when calculating coverage

* Change it to skip the whole tests dir
  • Loading branch information
jsignell authored Dec 1, 2023
1 parent f9034ac commit dc1fb1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,6 @@ module=[
"xarray.core.pycompat",
]
ignore_missing_imports = true

[tool.coverage.run]
omit = ["*/tests/*"]

0 comments on commit dc1fb1b

Please sign in to comment.