Skip to content

test: add intentional ruff violation to verify github-pr-review reporter#25

Closed
benner wants to merge 1 commit into
ci/ruff-reporter-github-pr-reviewfrom
test/ruff-pr-review-reporter
Closed

test: add intentional ruff violation to verify github-pr-review reporter#25
benner wants to merge 1 commit into
ci/ruff-reporter-github-pr-reviewfrom
test/ruff-pr-review-reporter

Conversation

@benner
Copy link
Copy Markdown
Owner

@benner benner commented Apr 23, 2026

Adds an unused variable in check_body to confirm the action posts
inline review comments on the PR diff.

@benner benner force-pushed the test/ruff-pr-review-reporter branch from e85151a to 6be6cfb Compare April 23, 2026 04:53
@benner benner changed the title test: intentional ruff violation to verify github-pr-review reporter test: add intentional ruff violation to verify github-pr-review reporter Apr 23, 2026
@benner benner force-pushed the ci/ruff-reporter-github-pr-review branch from 8759bcb to 30c2294 Compare April 23, 2026 04:55
Adds an unused variable in check_body to confirm the action posts
inline review comments on the PR diff.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@benner benner force-pushed the test/ruff-pr-review-reporter branch from 6be6cfb to 59e7939 Compare April 23, 2026 04:56


def check_body(lines, result):
separator = lines[1] if len(lines) > 1 else ""
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ruff] reported by reviewdog 🐶
F841 Local variable separator is assigned to but never used

@benner
Copy link
Copy Markdown
Owner Author

benner commented Apr 23, 2026

works as expected

@benner benner closed this Apr 23, 2026
@benner benner deleted the test/ruff-pr-review-reporter branch April 23, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant