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.
This commit is contained in:
Tim Abbott
2025-08-07 17:38:22 -07:00
parent 7022811349
commit f287a82743

View File

@@ -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="",