Skip to content

Commit ab1e176

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4093202 commit ab1e176

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tender/__main__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def link(url, name):
3636

3737
def nested_dict_to_namespaces(dic):
3838
"""Code for recursively converting dictionaries of dictionaries
39-
into SimpleNamespaces instead.
39+
into SimpleNamespaces instead.
4040
"""
4141

4242
def recurse(dic):
@@ -199,8 +199,10 @@ def do_pulls(self):
199199
)
200200
pr_labels = [p.name for p in pull.get_labels()]
201201
if len(self.required_labels.intersection(pr_labels)) == 0:
202-
msg += "\n\tShould have at least one label out of {} but found: {}".format(
203-
", ".join(self.required_labels), ", ".join(pr_labels)
202+
msg += (
203+
"\n\tShould have at least one label out of {} but found: {}".format(
204+
", ".join(self.required_labels), ", ".join(pr_labels)
205+
)
204206
)
205207
print(msg)
206208
cnt += 1

0 commit comments

Comments
 (0)