From 0d154f05051d391402d67b7c8672c0fee3d3afa9 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 7 Aug 2024 13:58:00 +0200 Subject: [PATCH] adjust return type --- src/rattler_build_conda_compat/jinja/jinja.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rattler_build_conda_compat/jinja/jinja.py b/src/rattler_build_conda_compat/jinja/jinja.py index f89bc35..60f3fdf 100644 --- a/src/rattler_build_conda_compat/jinja/jinja.py +++ b/src/rattler_build_conda_compat/jinja/jinja.py @@ -24,7 +24,7 @@ class RecipeWithContext(TypedDict, total=False): context: dict[str, str] -def jinja_env() -> jinja2.Environment: +def jinja_env() -> SandboxedEnvironment: """ Create a `rattler-build` specific Jinja2 environment with modified syntax. Target platform, build platform, and mpi are set to linux-64 by default.