Skip to content

Commit b520041

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

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Kept for partial compatibility with old pip versions."""
2+
23
from setuptools import setup
34

45
setup(

tender/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tender Library"""
2+
23
from pkg_resources import DistributionNotFound, get_distribution
34

45
try:

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)