From f287a827439c0a66263b1b084a7e04b51e5392ca Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 7 Aug 2025 17:38:22 -0700 Subject: [PATCH] webhooks: Add nocoverage comment for unused MAPPING. This code path isn't used yet; I expect we'll get to remove this when we start using it for a specific integration in the near-ish future. --- zerver/lib/webhooks/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/webhooks/common.py b/zerver/lib/webhooks/common.py index b987e6862e..f3dc5b2af9 100644 --- a/zerver/lib/webhooks/common.py +++ b/zerver/lib/webhooks/common.py @@ -97,7 +97,7 @@ class WebhookUrlOption: label="Exclude notifications from private repositories", validator=check_bool, ) - case PresetUrlOption.MAPPING: + case PresetUrlOption.MAPPING: # nocoverage # Not used yet return cls( name=config.value, label="",