def index_tag_in_lines(lines, tag):
    """Returns line number where tag is found.

    Args:
        lines (list): List of lines to check.
        tag (str): Tag to find.
    """
    for index, line in enumerate(lines):
        if tag in line:
            return index
    raise ValueError(f'{tag} not found.')