Skip to content

Commit

Permalink
cleanup pytest cov config
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Aug 29, 2024
1 parent 2b73487 commit 04c4476
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@ pretty = true
minversion = "7.0"
testpaths = ["tests"]
filterwarnings = ["error"]
addopts = [
"--cov=src/ngio",
"--cov-report=term-missing",
"--cov-report=xml",
]

[tool.coverage.run]
omit = [
"src/ngio/core/handler_protocol.py", # This is file only contains a protocol definition
"src/ngio/ngff_meta/_meta_handler_protocol.py", # This is file only contains a protocol definition
]

# https://github.com/mgedmin/check-manifest#configuration
# add files that you want check-manifest to explicitly ignore here
Expand Down

0 comments on commit 04c4476

Please sign in to comment.