Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1107031?usp=email )
Change subject: tests: enable multiline exclusions with coverage (7.6.0+) ......................................................................
tests: enable multiline exclusions with coverage (7.6.0+)
Change-Id: I6cdec0d38e0d8565483594bc89a11475ef26afa2 --- M pyproject.toml 1 file changed, 5 insertions(+), 0 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Verified; Looks good to me, approved
diff --git a/pyproject.toml b/pyproject.toml index ebc91a2..511c9d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -144,6 +144,11 @@ "@unittest\.skip", ]
+exclude_also = [ + # Comments to turn coverage on and off: + "no cover: start(?s:.)*?no cover: stop", +] +
[tool.docsig] disable = [
pywikibot-commits@lists.wikimedia.org