@@ -406,7 +406,9 @@ def __init__(self, dist: Distribution, name: str, path_entries: list[Path]) -> N
406406 self .name = name
407407 self .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 :
410412 entries = "\n " .join (str (p .resolve ()) for p in self .path_entries )
411413 contents = _encode_pth (f"{ entries } \n " )
412414 wheel .writestr (f"__editable__.{ self .name } .pth" , contents )
@@ -451,7 +453,9 @@ def __init__(
451453 self ._file = dist .get_command_obj ("build_py" ).copy_file
452454 super ().__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 :
455459 self ._create_links (files , mapping )
456460 super ().__call__ (wheel , files , mapping )
457461
@@ -545,7 +549,9 @@ def get_implementation(self) -> Iterator[tuple[str, bytes]]:
545549 content = _encode_pth (f"import { finder } ; { finder } .install()" )
546550 yield (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 :
549555 for file , content in self .get_implementation ():
550556 wheel .writestr (file , content )
551557
0 commit comments