Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 5, 2022
1 parent 8bb6f55 commit 964df96
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tender/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 964df96

Please sign in to comment.