ruff
[`ruff`] Skip `RUF051` if `else`/`elif` block is present
#20705
Merged

[`ruff`] Skip `RUF051` if `else`/`elif` block is present #20705

njhearp
njhearp Ignore `else` block for `RUF051`
432a4269
github-actions
dylwil3
dylwil3 approved these changes on 2025-10-06
dylwil3 dylwil3 added bug
dylwil3 dylwil3 added fixes
dylwil3 dylwil3 removed fixes
dylwil3 dylwil3 added rule
dylwil3 dylwil3 merged 1c5666ce into main 1 year ago
dylwil3 dylwil3 changed the title [`RUF051`] Ignore if `else`/`elif` block is present [`ruff`] Skip `RUF051` if `else`/`elif` block is present 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone