Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Dec 22, 2024
1 parent f0eb5c8 commit 9f87973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog_templating/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9f87973

Please sign in to comment.