(self)
return list(unfiltered_packages)
Return a list of package names to be filtered base on the configuration
        file.
Return a list of package names to be filtered base on the configuration
        file.
Return a list of package names to be filtered base on the configuration file .
def _determine_unfiltered_package_names(self) -> List[str]:
        """
        Return a list of package names to be filtered base on the configuration
        file.
        """
        # This plugin only processes packages, if the line in the packages
        # configuration contains a PEP440 specifier it will be processed by the
        # allowlist release filter.  So we need to remove any packages that
        # are not applicable for this plugin.
        unfiltered_packages: Set[str] = set()
        try:
            lines = self.allowlist["packages"]
            package_lines = lines.split("\n")
        except KeyError:
            package_lines = []
        for package_line in package_lines:
            package_line = package_line.strip()
            if not package_line or package_line.startswith("#"):
                continue
            package_line, *_ = package_line.split("#", maxsplit=1)
            unfiltered_packages.add(
                canonicalize_name(Requirement(package_line.strip()).name)
            )
        return list(unfiltered_packages)
def _determine_unfiltered_package_names ( self ) -> List [ str ] : # This plugin only processes packages, if the line in the packages # configuration contains a PEP440 specifier it will be processed by the # allowlist release filter.  So we need to remove any packages that # are not applicable for this plugin. unfiltered_packages : Set [ str ] = set ( ) try : lines = self . allowlist [ "packages" ] package_lines = lines . split ( "\n" ) except KeyError : package_lines = [ ] for package_line in package_lines : package_line = package_line . strip ( ) if not package_line or package_line . startswith ( "#" ) : continue package_line , * _ = package_line . split ( "#" , maxsplit = 1 ) unfiltered_packages . add ( canonicalize_name ( Requirement ( package_line . strip ( ) ) . name ) ) return list ( unfiltered_packages )