From 3aaa89fb089e03e3dbc1c71a53eab846f27788a1 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 25 Jun 2020 20:25:29 -0700 Subject: [PATCH] Formatting. --- borgmatic/hooks/cronhub.py | 4 +++- borgmatic/hooks/cronitor.py | 4 +++- borgmatic/hooks/pagerduty.py | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) 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. '''