From 070553c2c0fa176265f5be5a5acee05ef95a4b5a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Sep 2022 17:14:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tender/__main__.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tender/__main__.py b/tender/__main__.py index 0c386f4..4a433a0 100755 --- a/tender/__main__.py +++ b/tender/__main__.py @@ -36,7 +36,7 @@ def link(url, name): def nested_dict_to_namespaces(dic): """Code for recursively converting dictionaries of dictionaries - into SimpleNamespaces instead. + into SimpleNamespaces instead. """ def recurse(dic): @@ -199,8 +199,10 @@ def do_pulls(self): ) pr_labels = [p.name for p in pull.get_labels()] if len(self.required_labels.intersection(pr_labels)) == 0: - msg += "\n\tShould have at least one label out of {} but found: {}".format( - ", ".join(self.required_labels), ", ".join(pr_labels) + msg += ( + "\n\tShould have at least one label out of {} but found: {}".format( + ", ".join(self.required_labels), ", ".join(pr_labels) + ) ) print(msg) cnt += 1