ruff
[`pylint`] Fix `PLC1802` autofix creating a syntax error and mark autofix as unsafe if there's comments in the `len` call
#18836
Merged

[`pylint`] Fix `PLC1802` autofix creating a syntax error and mark autofix as unsafe if there's comments in the `len` call #18836

LaBatata101
LaBatata101 [`pylint`] Fix `PLC1802` autofix creating a syntax error
6874e2da
LaBatata101 [`pylint`] Mark `PLC1802` autofix as unsafe if there's comments in th…
6dfafc51
LaBatata101 Fix false negative if the `len` call argument variable is shadowed
bdf31df0
github-actions
charliermarsh
charliermarsh approved these changes on 2025-06-23
charliermarsh
charliermarsh commented on 2025-06-23
charliermarsh Update crates/ruff_linter/src/rules/pylint/rules/len_test.rs
06e13042
charliermarsh
charliermarsh commented on 2025-06-23
charliermarsh Update crates/ruff_linter/src/rules/pylint/rules/len_test.rs
835a028b
charliermarsh charliermarsh enabled auto-merge (squash) 221 days ago
charliermarsh charliermarsh merged 06a78d0b into main 221 days ago
LaBatata101 LaBatata101 deleted the fix-PLC1802 branch 221 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone