class Dependabot::Uv::FileFetcher
def constraints_files
def constraints_files all_requirement_files = requirements_txt_files + child_requirement_txt_files constraints_paths = all_requirement_files.map do |req_file| current_dir = File.dirname(req_file.name) paths = req_file.content.scan(CONSTRAINT_REGEX).flatten paths.map do |path| path = File.join(current_dir, path) unless current_dir == "." cleanpath(path) end end.flatten.uniq constraints_paths.map { |path| fetch_file_from_host(path) } end