From 9f87973baa9d55580f472acad56e0f089d6f4667 Mon Sep 17 00:00:00 2001 From: Caleb Date: Sun, 22 Dec 2024 14:34:01 -0500 Subject: [PATCH] fix typo --- catalog_templating/render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog_templating/render.py b/catalog_templating/render.py index c359be7..008d776 100644 --- a/catalog_templating/render.py +++ b/catalog_templating/render.py @@ -25,7 +25,7 @@ def render_templates(app_version_path: str, test_values: dict) -> dict: env = Environment(loader=file_loader, extensions=["jinja2.ext.do", "jinja2.ext.loopcontrols", "jinja2.ext.debug"]) rendered_templates = {} with os.scandir(template_path) as sdir: - for i in filter(lambda x: x.is_file() and i.name.endswith('.yaml'), sdir): + for i in filter(lambda x: x.is_file() and x.name.endswith('.yaml'), sdir): # TODO: Let's look to adding dynamic filter support in the future # env.filters['make_capital'] = lambda st: st.upper() rendered_templates[i.name] = env.get_template(i.name).render(