Skip to content

Commit 4548f38

Browse files
committed
pyproject: Coverage: Use branch coverage
This was in use in tests/.coveragerc: previously. Enable in pyproject config too. Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent 4e889e7 commit 4548f38

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,5 @@ exclude_also = [
155155
"if TYPE_CHECKING",
156156
]
157157
[tool.coverage.run]
158-
omit = [
159-
"tests/*",
160-
]
158+
branch = true
159+
omit = [ "tests/*" ]

0 commit comments

Comments
 (0)