Skip to content

Commit c1c22b2

Browse files
committed
chore: Update coverage and pytest configs
1 parent 1c218a4 commit c1c22b2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyproject.toml

+10
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,23 @@ versionfile_build = "bids_validator/_version.py"
5454
tag_prefix = ""
5555
parentdir_prefix = ""
5656

57+
[tool.pytest.ini_options]
58+
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL"]
59+
5760
[tool.coverage.run]
5861
branch = true
5962
parallel = true
63+
source = ["bids_validator"]
6064
omit = [
6165
"*/_version.py",
6266
]
6367

68+
[tool.coverage.paths]
69+
source = [
70+
"src/bids_validator/",
71+
"*/site-packages/bids_validator/",
72+
]
73+
6474
[tool.coverage.report]
6575
exclude_lines = [
6676
"no cov",

0 commit comments

Comments
 (0)