Skip to content

Commit 936da83

Browse files
committed
Move coverage include config to [tool.coverage.run]
1 parent 7ec5fed commit 936da83

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ select = [
6060
[tool.coverage.run]
6161
# Enable branch coverage
6262
branch = true
63+
# Only check coverage for source files
64+
include = ["cachesimulator/*.py"]
6365

6466
[tool.coverage.report]
6567
# Regexes for lines to exclude from consideration
@@ -69,6 +71,3 @@ exclude_lines = [
6971
"if __name__ == .__main__.:",
7072
"pass",
7173
]
72-
73-
# Only check coverage for source files
74-
include = ["cachesimulator/*.py"]

0 commit comments

Comments
 (0)