Skip to content
Snippets Groups Projects
Commit eb403d4b authored by Luca Weiss's avatar Luca Weiss
Browse files

pmb.parse.apkindex: Add missing type hints in package()

Make sure to annotate the parameters.
parent fd605365
No related branches found
No related tags found
No related merge requests found
Pipeline #208506 failed
......@@ -439,7 +439,7 @@ def provider_shortest(providers: dict[str, ApkindexBlock], pkgname: str) -> Apki
# This can't be cached because the APKINDEX can change during pmbootstrap build!
def package(
package, arch: Arch | None = None, must_exist=True, indexes=None, user_repository=True
package: str, arch: Arch | None = None, must_exist: bool = True, indexes: list[Path] | None = None, user_repository: bool = True
) -> ApkindexBlock | None:
"""
Get a specific package's data from an apkindex.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment