Skip to content

Commit b0271d6

Browse files
committed
👹 Feed the hobgoblins (delint).
1 parent c5030a3 commit b0271d6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎importlib_metadata/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,8 @@ def _read_files_egginfo_installed(self):
636636
return
637637

638638
paths = (
639-
py311.relative_fix((subdir / name).resolve())
639+
py311
640+
.relative_fix((subdir / name).resolve())
640641
.relative_to(self.locate_file('').resolve(), walk_up=True)
641642
.as_posix()
642643
for name in text.splitlines()
@@ -860,6 +861,7 @@ def mtime(self):
860861
def lookup(self, mtime):
861862
return Lookup(self)
862863

864+
863865
class Lookup:
864866
"""
865867
A micro-optimized class for searching a (fast) path for metadata.

‎importlib_metadata/_adapters.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
class RawPolicy(email.policy.EmailPolicy):
1010
def fold(self, name, value):
1111
folded = self.linesep.join(
12-
textwrap.indent(value, prefix=' ' * 8, predicate=lambda line: True)
12+
textwrap
13+
.indent(value, prefix=' ' * 8, predicate=lambda line: True)
1314
.lstrip()
1415
.splitlines()
1516
)

0 commit comments

Comments
 (0)