def METHOD_NAME():
    exclude_patterns = []
    for line in stream_file_lines('.gitignore'):
        line = line.strip()
        if line and not line.startswith('#'):
            exclude_patterns.append(line)
    return exclude_patterns