def filter_requirements(requirements: str) -> list:
    """Filter the requirements, exclude comments, empty strings

    Parameters:
    -----------
    requirements: str,
        string of requirements

    Returns:
    --------
    list
        list of filtered requirements
    """
    list_requirements = requirements.split("\n")
    for entry in list_requirements:
        if "#" in entry or entry == "":
            list_requirements.remove(entry)
    return list_requirements