Skip to content

Commit 79c936e

Browse files
committed
Add relative_files configuration to coverage settings in .coveragerc and pyproject.toml
1 parent e746715 commit 79c936e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdk-examples/.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
# Coverage configuration
33
source = .
4+
relative_files = true
45
omit =
56
*/tests/*
67
*/test_*

sdk-examples/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ python_functions = "test_*"
8181

8282
[tool.coverage.run]
8383
source = ["."]
84+
relative_files = true
8485
omit = [
8586
"tests/*",
8687
"*/tests/*",

0 commit comments

Comments
 (0)