jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1172814?usp=email )

Change subject: Fix coverage excludes
......................................................................

Fix coverage excludes

Bug: T400546
Change-Id: I26885a8b6e529943885f9c651fc15bbf9eaec098
---
M pyproject.toml
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/pyproject.toml b/pyproject.toml
index 9ac0583..00856f0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -123,7 +123,7 @@
 ignore_errors = true
 skip_empty = true

-exclude_other = [
+exclude_also = [
     # Have to re-enable the standard pragma
     "except ImportError",
     "except KeyboardInterrupt",
@@ -140,10 +140,6 @@
     "@(abc\\.)?abstractmethod",
     "@deprecated\\([^\\)]+\\)",
     "@unittest\\.skip",
-    "no cover: start(?s:.)*?no cover: stop",
-]
-
-exclude_also = [
     # Comments to turn coverage on and off:
     "no cover: start(?s:.)*?no cover: stop",
 ]

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1172814?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: I26885a8b6e529943885f9c651fc15bbf9eaec098
Gerrit-Change-Number: 1172814
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to