diff --git a/borgmatic/hooks/cronhub.py b/borgmatic/hooks/cronhub.py index 79450b5..ee3cee1 100644 --- a/borgmatic/hooks/cronhub.py +++ b/borgmatic/hooks/cronhub.py @@ -41,7 +41,9 @@ def ping_monitor(ping_url, config_filename, state, monitoring_log_level, dry_run requests.get(ping_url) -def destroy_monitor(ping_url_or_uuid, config_filename, monitoring_log_level, dry_run): # pragma: no cover +def destroy_monitor( + ping_url_or_uuid, config_filename, monitoring_log_level, dry_run +): # pragma: no cover ''' No destruction is necessary for this monitor. ''' diff --git a/borgmatic/hooks/cronitor.py b/borgmatic/hooks/cronitor.py index f15256e..e8275f0 100644 --- a/borgmatic/hooks/cronitor.py +++ b/borgmatic/hooks/cronitor.py @@ -40,7 +40,9 @@ def ping_monitor(ping_url, config_filename, state, monitoring_log_level, dry_run requests.get(ping_url) -def destroy_monitor(ping_url_or_uuid, config_filename, monitoring_log_level, dry_run): # pragma: no cover +def destroy_monitor( + ping_url_or_uuid, config_filename, monitoring_log_level, dry_run +): # pragma: no cover ''' No destruction is necessary for this monitor. ''' diff --git a/borgmatic/hooks/pagerduty.py b/borgmatic/hooks/pagerduty.py index ffecc0c..ccddfdf 100644 --- a/borgmatic/hooks/pagerduty.py +++ b/borgmatic/hooks/pagerduty.py @@ -71,7 +71,9 @@ def ping_monitor(integration_key, config_filename, state, monitoring_log_level, requests.post(EVENTS_API_URL, data=payload.encode('utf-8')) -def destroy_monitor(ping_url_or_uuid, config_filename, monitoring_log_level, dry_run): # pragma: no cover +def destroy_monitor( + ping_url_or_uuid, config_filename, monitoring_log_level, dry_run +): # pragma: no cover ''' No destruction is necessary for this monitor. '''