From 307e30346372e846ae09343b8d2293f07a4d3518 Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Wed, 12 Oct 2022 15:41:50 -0400 Subject: [PATCH] pre-commit updates --- .../src/spiffworkflow_backend/routes/process_api_blueprint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py index ee9419b6..7a164cff 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py @@ -1255,7 +1255,9 @@ def prepare_form_data( def render_jinja_template(unprocessed_template: str, data: dict[str, Any]) -> str: """Render_jinja_template.""" - jinja_environment = jinja2.Environment(autoescape=True, lstrip_blocks=True, trim_blocks=True) + jinja_environment = jinja2.Environment( + autoescape=True, lstrip_blocks=True, trim_blocks=True + ) template = jinja_environment.from_string(unprocessed_template) return template.render(**data)