From c8e42c2ac3e2845b5ca61fa2c17efb7f24826f28 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Mon, 21 Sep 2026 11:02:28 -0700 Subject: [PATCH] ci(e2e): give string_leaves a single trailing return --- .github/e2e-stack/redact_output.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/e2e-stack/redact_output.py b/.github/e2e-stack/redact_output.py index 0dfea8aec7f..233a8be3e2d 100644 --- a/.github/e2e-stack/redact_output.py +++ b/.github/e2e-stack/redact_output.py @@ -21,8 +21,7 @@ def string_leaves(node: JsonValue) -> tuple[str, ...]: return tuple(leaf for child in node for leaf in string_leaves(child)) case dict(): return tuple(leaf for child in node.values() for leaf in string_leaves(child)) - case _: - return () + return () def field_lines(value: str) -> tuple[str, ...]: