Fix type declaration on print_packages() pname parameter.

This commit is contained in:
Bryan Gardiner 2024-09-26 19:17:40 -07:00
parent bf4f249ff3
commit 263cec533d
No known key found for this signature in database
GPG key ID: 53EFBCA063E6183C

View file

@ -39,14 +39,15 @@
import argparse import argparse
import fnmatch import fnmatch
from itertools import pairwise
import os import os
import os.path import os.path
import re import re
import subprocess import subprocess
import sys import sys
from abc import abstractmethod from abc import abstractmethod
from collections.abc import Collection
from functools import cmp_to_key, total_ordering from functools import cmp_to_key, total_ordering
from itertools import pairwise
from pathlib import Path from pathlib import Path
from signal import SIGPIPE, SIG_DFL, signal from signal import SIGPIPE, SIG_DFL, signal
from subprocess import PIPE from subprocess import PIPE
@ -544,7 +545,7 @@ def render_versions(
def print_packages( def print_packages(
*, *,
pnames: Iterable[str], pnames: Collection[str],
sort_comparator: Optional[PackageListEntryComparator], sort_comparator: Optional[PackageListEntryComparator],
selected_sets: PackageSetPair, selected_sets: PackageSetPair,
left_package_set: PackageSet, left_package_set: PackageSet,