From 3edc7efa3b90d6b7c6933c5de4a5793f88e9edea Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 13 May 2024 23:02:11 +0100 Subject: [PATCH] Remove return type in _format_merged_stacks The mypy check is failing due to a mismatch between signature and the return type. Looks like the return value can be removed, as the only call to the function expects an iterable, matching the function signature. Signed-off-by: Pablo Galindo --- src/pystack/traceback_formatter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pystack/traceback_formatter.py b/src/pystack/traceback_formatter.py index 1df8f4c8..134dce46 100644 --- a/src/pystack/traceback_formatter.py +++ b/src/pystack/traceback_formatter.py @@ -110,4 +110,3 @@ def _format_merged_stacks( raise ValueError( f"Invalid frame type: {frame_type(frame, thread.python_version)}" ) - return current_frame