@@ -406,7 +406,9 @@ def __init__(self, dist: Distribution, name: str, path_entries: list[Path]) -> N
406406self .name = name
407407self .path_entries = path_entries
408408
409- def __call__ (self ,wheel :WheelFile ,files :list [str ],mapping :Mapping [str ,str ]):
409+ def __call__ (
410+ self ,wheel :WheelFile ,files :list [str ],mapping :Mapping [str ,str ]
411+ )-> None :
410412entries = "\n " .join (str (p .resolve ())for p in self .path_entries )
411413contents = _encode_pth (f"{ entries } \n " )
412414wheel .writestr (f"__editable__.{ self .name } .pth" ,contents )
@@ -451,7 +453,9 @@ def __init__(
451453self ._file = dist .get_command_obj ("build_py" ).copy_file
452454super ().__init__ (dist ,name , [self .auxiliary_dir ])
453455
454- def __call__ (self ,wheel :WheelFile ,files :list [str ],mapping :Mapping [str ,str ]):
456+ def __call__ (
457+ self ,wheel :WheelFile ,files :list [str ],mapping :Mapping [str ,str ]
458+ )-> None :
455459self ._create_links (files ,mapping )
456460super ().__call__ (wheel ,files ,mapping )
457461
@@ -545,7 +549,9 @@ def get_implementation(self) -> Iterator[tuple[str, bytes]]:
545549content = _encode_pth (f"import{ finder } ;{ finder } .install()" )
546550yield (f"__editable__.{ self .name } .pth" ,content )
547551
548- def __call__ (self ,wheel :WheelFile ,files :list [str ],mapping :Mapping [str ,str ]):
552+ def __call__ (
553+ self ,wheel :WheelFile ,files :list [str ],mapping :Mapping [str ,str ]
554+ )-> None :
549555for file ,content in self .get_implementation ():
550556wheel .writestr (file ,content )
551557