Skip to content

Commit

Permalink
move .coveragerc to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Gleixner committed Mar 22, 2024
1 parent bfd60b4 commit 76a048d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .coveragerc

This file was deleted.

12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,18 @@ doc = ['sphinx', 'furo', 'myst_parser']
zip-safe = false

[tool.coverage.run]
branch = true
relative_files = true
source = 'src'

[tool.coverage.report]
include_namespace_packages = true
exclude_lines = [
'if self.debug:',
'pragma: no cover',
'raise NotImplementedError',
'if __name__ == .__main__.:'
]
omit = ['icpy/tests/*']

[tool.coverage.html]
directory = "coverage_html_report"

0 comments on commit 76a048d

Please sign in to comment.