def get_template_filelist(repo_path, ignore_files=[], ignore_folders=[]):
default_ignore_files = ['<STR_LIT>']<EOL>default_ignore_folders = ['<STR_LIT>']<EOL>ignore_files += default_ignore_files<EOL>ignore_folders += default_ignore_folders<EOL>filelist = []<EOL>for root, folders, files in os.walk(repo_path):<EOL><INDENT>for ignore_file in ignore_files:<EOL><INDENT>if ignore_file in files:<EOL><INDENT>files.remove(ignore_file)<EOL><DEDENT><DEDENT>for ignore_folder in ignore_folders:<EOL><INDENT>if ignore_folder in folders:<EOL><INDENT>folders.remove(ignore_folder)<EOL><DEDENT><DEDENT>for file_name in files:<EOL><INDENT>filelist.append( '<STR_LIT>' % (root, file_name))<EOL><DEDENT><DEDENT>return filelist<EOL>
input: local repo path
output: path list of files which need to be rendered