def __FormatLine(filepath, line_index, max_line_number_size, lines,
    highlight=False):
    """ Format a single line."""
    if highlight:
        return '%s:%s: > %s' % (filepath, str(line_index + 1).rjust(
            max_line_number_size), lines[line_index])
    else:
        return '%s:%s:   %s' % (filepath, str(line_index + 1).rjust(
            max_line_number_size), lines[line_index])
