(filename="requirements.txt")
return list(filter(None, [req.strip() for req in requirements.split() if not req.startswith('#')]))
returns a list of all requirements
returns a list of all requirements
returns a list of all requirements
def get_requirements(filename="requirements.txt"):
    """returns a list of all requirements"""
    requirements = read(filename)
    return list(filter(None, [req.strip() for req in requirements.split() if not req.startswith('#')]))
def get_requirements ( filename = "requirements.txt" ) : requirements = read ( filename ) return list ( filter ( None , [ req . strip ( ) for req in requirements . split ( ) if not req . startswith ( '#' ) ] ) )