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

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

Make sure to annotate the 'package' parameter as string.
parent ca523c21
No related branches found
No related tags found
No related merge requests found
Pipeline #208407 passed
......@@ -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=True, indexes=None, user_repository=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