From a1a821c03d0555b9566e9b6a8b0ab2dcdea1c4bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Bernard?= Date: Fri, 11 Jul 2025 23:13:55 +0200 Subject: [PATCH] chore: Fix return type in type annotation --- src/copier_templates_extensions/_internal/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copier_templates_extensions/_internal/context.py b/src/copier_templates_extensions/_internal/context.py index eac89d7..413add8 100644 --- a/src/copier_templates_extensions/_internal/context.py +++ b/src/copier_templates_extensions/_internal/context.py @@ -58,7 +58,7 @@ def __init__( environment.context_class = ContextClass - def hook(self, context: dict) -> dict: + def hook(self, context: dict[str, Any]) -> dict[str, Any] | None: """Abstract hook. Does nothing. Override this method to either return