def get_classes(path: str):
    """Get classes.

    :param path: The classes file.
    :rtype: list[str]
    :return: The class list.
    """

    fp = open(path, "r")
    lines = fp.readlines()
    fp.close()

    classes = []
    for line in lines:
        line = line.strip()
        if len(line) == 0 or line.startswith("#"):
            continue
        classes.append(line)

    return classes