Fix a type annotation for list_available_packages (#3711)

The repositories parameter is a variable-length tuple instead of a
one-element tuple.
This commit is contained in:
correctmost 2025-08-06 03:02:01 -04:00 committed by GitHub
parent 5e96448f37
commit b0ede3c165
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ def check_package_upgrade(package: str) -> str | None:
@lru_cache
def list_available_packages(
repositories: tuple[Repository],
repositories: tuple[Repository, ...],
) -> dict[str, AvailablePackage]:
"""
Returns a list of all available packages in the database