Skip to content

[refurb] Ignore methods in reimplemented-operator (FURB118)#11270

Merged
charliermarsh merged 1 commit intomainfrom
charlie/furb118
May 3, 2024
Merged

[refurb] Ignore methods in reimplemented-operator (FURB118)#11270
charliermarsh merged 1 commit intomainfrom
charlie/furb118

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

Summary

This rule does more harm than good when applied to methods.

Closes #10898.

Closes #11045.

@charliermarsh charliermarsh added rule Implementing or modifying a lint rule preview Related to preview mode features labels May 3, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) May 3, 2024 19:57
@charliermarsh charliermarsh merged commit 894cd13 into main May 3, 2024
@charliermarsh charliermarsh deleted the charlie/furb118 branch May 3, 2024 20:03
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 3, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Related to preview mode features rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FURB118 static method "false positive" (🐞) FURB118 (reimplemented-operator) false positive when reference in the item position

1 participant