Python functions to get top-level importables names
0

Configure Feed

Select the types of activity you want to include in your feed.

Minor style fixes

Juan Luis Cano Rodríguez (Jul 24, 2024, 11:00 AM +0200) 6324a844 7681171d

+2 -2
+2 -2
src/pygetimportables/__init__.py
··· 83 83 84 84 85 85 def _determine_major_import_names( 86 - importable_components: t.Iterable[tuple[str, ...]] 86 + importable_components: t.Iterable[tuple[str, ...]], 87 87 ) -> set[str]: 88 88 return {components[0] for components in importable_components} 89 89 90 90 91 91 def _get_importable_components_from_wheel( 92 - wheel: WheelSource 92 + wheel: WheelSource, 93 93 ) -> t.Iterable[tuple[str, ...]]: 94 94 metadata = parse_metadata_file(wheel.read_dist_info("WHEEL")) 95 95 if not (metadata["Wheel-Version"] and metadata["Wheel-Version"].startswith("1.")):