Skip to content

Commit 916ffb2

Browse files
committed
Disable branch coverage
This is required in combination with COVERAGE_CORE=sysmon to speed up coverage runs with Python >= 3.12. See nedbat/coveragepy#1812 ref it/cookiecutter-e3#73 ref #28
1 parent 7f2ea4b commit 916ffb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ version = {file = "VERSION"}
110110
fail_under = 90
111111

112112
[tool.coverage.run]
113-
branch = true
113+
branch = false
114114
omit = [
115115
"*mypy.py"
116116
]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ commands=
2121
--durations=10 \
2222
xdist: -n auto \
2323
cov: --e3-cov-rewrite {envsitepackagesdir} src \
24-
cov: --cov {envsitepackagesdir}/e3/ --cov-branch \
24+
cov: --cov {envsitepackagesdir}/e3/ \
2525
[]
2626
codecov: codecov
2727

0 commit comments

Comments
 (0)