From 65c5a7c15d10749b6eca84522708e476fad0f7f2 Mon Sep 17 00:00:00 2001 From: Nemental <15136847+Nemental@users.noreply.github.com> Date: Tue, 28 May 2024 09:39:41 +0200 Subject: [PATCH] style: formatting black --- plugins/modules/grafana_contact_point.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/modules/grafana_contact_point.py b/plugins/modules/grafana_contact_point.py index 3a85207e..a8e86dbf 100644 --- a/plugins/modules/grafana_contact_point.py +++ b/plugins/modules/grafana_contact_point.py @@ -1052,7 +1052,11 @@ def grafana_update_contact_point(self, data, payload): del contact_point["provenance"] if self.contact_point == contact_point: - return {"changed": False, "contact_point": contact_point, "state": data["state"]} + return { + "changed": False, + "contact_point": contact_point, + "state": data["state"], + } else: return { "changed": True, @@ -1074,7 +1078,11 @@ def grafana_delete_contact_point(self, data): ) if info["status"] == 202: - return {"changed": True, "contact_point": self.contact_point, "state": data["state"]} + return { + "changed": True, + "contact_point": self.contact_point, + "state": data["state"], + } elif info["status"] == 404: return {"changed": False, "state": data["state"]} else: