def format_search_results(self, search_results):
formatted_lines = []<EOL>for search_result in search_results:<EOL><INDENT>lines = self._format_search_result(search_result)<EOL>formatted_lines.extend(lines)<EOL><DEDENT>return formatted_lines<EOL>
Format search results.

        Args:
            search_results (list of `ResourceSearchResult`): Search to format.

        Returns:
            List of 2-tuple: Text and color to print in.