Skip to content

Commit e577474

Browse files
committed
⚫ Fade to black.
1 parent c759280 commit e577474

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

setuptools/tests/test_sdist.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@
2828
'data_files': [("data", [os.path.join("d", "e.dat")])],
2929
}
3030

31-
SETUP_PY = """\
31+
SETUP_PY = (
32+
"""\
3233
from setuptools import setup
3334
3435
setup(**%r)
35-
""" % SETUP_ATTRS
36+
"""
37+
% SETUP_ATTRS
38+
)
3639

3740

3841
@contextlib.contextmanager
@@ -451,8 +454,7 @@ def test_sdist_with_utf8_encoded_filename(self):
451454
@classmethod
452455
def make_strings(cls, item):
453456
if isinstance(item, dict):
454-
return {
455-
key: cls.make_strings(value) for key, value in item.items()}
457+
return {key: cls.make_strings(value) for key, value in item.items()}
456458
if isinstance(item, list):
457459
return list(map(cls.make_strings, item))
458460
return str(item)
@@ -570,9 +572,11 @@ def test_default_revctrl():
570572
This interface must be maintained until Ubuntu 12.04 is no longer
571573
supported (by Setuptools).
572574
"""
573-
ep, = metadata.EntryPoints._from_text("""
575+
(ep,) = metadata.EntryPoints._from_text(
576+
"""
574577
[setuptools.file_finders]
575578
svn_cvs = setuptools.command.sdist:_default_revctrl
576-
""")
579+
"""
580+
)
577581
res = ep.load()
578582
assert hasattr(res, '__iter__')

0 commit comments

Comments
 (0)