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 = [

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1107031?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6cdec0d38e0d8565483594bc89a11475ef26afa2
Gerrit-Change-Number: 1107031
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to