-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ruff
] Unnecessary intermediate representation (RUF042
)
#14831
base: main
Are you sure you want to change the base?
Conversation
|
code | total | + violation | - violation | + fix | - fix |
---|---|---|---|---|---|
RUF042 | 261 | 261 | 0 | 0 | 0 |
This is a 12-in-1 rule. All the patterns are needed to preserve consistency with the reframing in #14564. I'm sorry it couldn't have been made as small as a weekend PR should be. |
Summary
Resolves #13533, resolves #14518 as well as the follow-up for #14564 and #14580.
Test Plan
cargo nextest run
andcargo insta test
.