Skip to content

Commit

Permalink
Remove return type in _format_merged_stacks
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pablogsal committed May 13, 2024
1 parent c769806 commit 3edc7ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pystack/traceback_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,3 @@ def _format_merged_stacks(
raise ValueError(
f"Invalid frame type: {frame_type(frame, thread.python_version)}"
)
return current_frame

0 comments on commit 3edc7ef

Please sign in to comment.