Skip to content

Commit

Permalink
Move coverage.py configs into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
diptorupd committed Nov 22, 2021
1 parent 95c02e0 commit c666c65
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .coveragerc

This file was deleted.

28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,31 @@ use_parentheses = true
ensure_newline_before_comments = true
line_length = 80
skip = ["versioneer.py", "numba_dppy/_version.py"]

[tool.coverage.run]
branch = true
source = [
"numba_dppy"
]
omit = [
"numba_dppy/tests/*",
"numba_dppy/_version.py",
]
concurrency = [
"multiprocessing",
]
parallel = true

[tool.coverage.report]
precision = 2
omit = [
"numba_dppy/tests/*",
"numba_dppy/_version.py",
]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if config.DEBUG:",
"@register_jitable",
"def dpnp_impl",
]

0 comments on commit c666c65

Please sign in to comment.