(self)
return list(filtered_requirements)
Parse the configuration file for
        [allowlist]
        requirements_path = /where_they_are
        requirements =
            requirements.txt

        Returns
        -------
        list of packaging.requirements.Requirement
            For all PEP440 package specifiers
Parse the configuration file for
        [allowlist]
        requirements_path = /where_they_are
        requirements =
            requirements.txt
Parse the configuration file for [ allowlist ] requirements_path = / where_they_are requirements = requirements . txt
def _determine_filtered_package_requirements(self) -> List[Requirement]:
        """
        Parse the configuration file for
        [allowlist]
        requirements_path = /where_they_are
        requirements =
            requirements.txt

        Returns
        -------
        list of packaging.requirements.Requirement
            For all PEP440 package specifiers
        """
        filtered_requirements: Set[Requirement] = set()

        try:
            filepaths = get_requirement_files(self.allowlist)
        except KeyError:
            return []
        for filepath in filepaths:
            with open(filepath) as req_fh:
                filtered_requirements |= _parse_package_lines(req_fh.readlines())
        return list(filtered_requirements)
def _determine_filtered_package_requirements ( self ) -> List [ Requirement ] : filtered_requirements : Set [ Requirement ] = set ( ) try : filepaths = get_requirement_files ( self . allowlist ) except KeyError : return [ ] for filepath in filepaths : with open ( filepath ) as req_fh : filtered_requirements |= _parse_package_lines ( req_fh . readlines ( ) ) return list ( filtered_requirements )