@@ -397,7 +397,9 @@ def __init__(self, dist: Distribution, name: str, path_entries: list[Path]) -> N
397397 self .name = name
398398 self .path_entries = path_entries
399399
400- def __call__ (self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]):
400+ def __call__ (
401+ self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]
402+ ) -> None :
401403 entries = "\n " .join (str (p .resolve ()) for p in self .path_entries )
402404 contents = _encode_pth (f"{ entries } \n " )
403405 wheel .writestr (f"__editable__.{ self .name } .pth" , contents )
@@ -442,7 +444,9 @@ def __init__(
442444 self ._file = dist .get_command_obj ("build_py" ).copy_file
443445 super ().__init__ (dist , name , [self .auxiliary_dir ])
444446
445- def __call__ (self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]):
447+ def __call__ (
448+ self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]
449+ ) -> None :
446450 self ._create_links (files , mapping )
447451 super ().__call__ (wheel , files , mapping )
448452
@@ -536,7 +540,9 @@ def get_implementation(self) -> Iterator[tuple[str, bytes]]:
536540 content = _encode_pth (f"import { finder } ; { finder } .install()" )
537541 yield (f"__editable__.{ self .name } .pth" , content )
538542
539- def __call__ (self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]):
543+ def __call__ (
544+ self , wheel : WheelFile , files : list [str ], mapping : Mapping [str , str ]
545+ ) -> None :
540546 for file , content in self .get_implementation ():
541547 wheel .writestr (file , content )
542548
0 commit comments