You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style: Refactor hunk printing to use join for conciseness
This commit makes a minor stylistic refactoring in the
`scripts/gha/get_pr_review_comments.py` script.
When displaying the trailing lines of a diff hunk (for
`--context-lines > 0`), the script now uses `print("\n".join(lines))`
instead of a `for` loop with `print()` for each line.
This change achieves the same visual output but is more concise
and Pythonic for joining and printing a list of strings as
multiple lines.
0 commit comments