-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Stabilize unused-unpacked-variable (RUF059)
#20233
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
Conversation
The tests looked good. For the docs, I added a `## See also` section pointing to the closely-related F841 (unused-variable) and the corresponding section to F841 pointing back to RUF059. It seems like you'd probably want both of these active or at least to know about the other when reading the docs.
|
| code | total | + violation | - violation | + fix | - fix |
|---|---|---|---|---|---|
| RUF059 | 980 | 980 | 0 | 0 | 0 |
| ANN201 | 4 | 2 | 2 | 0 | 0 |
| D212 | 2 | 1 | 1 | 0 | 0 |
Linter (preview)
✅ ecosystem check detected no linter changes.
|
I went through the ecosystem check subset linked in the PR, and these all look correct to me. There are a lot of hits, but the rule also has an autofix to add a |
The tests looked good. For the docs, I added a `## See also` section pointing to the closely-related F841 (unused-variable) and the corresponding section to F841 pointing back to RUF059. It seems like you'd probably want both of these active or at least to know about the other when reading the docs.
The tests looked good. For the docs, I added a `## See also` section pointing to the closely-related F841 (unused-variable) and the corresponding section to F841 pointing back to RUF059. It seems like you'd probably want both of these active or at least to know about the other when reading the docs.
The tests looked good. For the docs, I added a `## See also` section pointing to the closely-related F841 (unused-variable) and the corresponding section to F841 pointing back to RUF059. It seems like you'd probably want both of these active or at least to know about the other when reading the docs.
The tests looked good. For the docs, I added a `## See also` section pointing to the closely-related F841 (unused-variable) and the corresponding section to F841 pointing back to RUF059. It seems like you'd probably want both of these active or at least to know about the other when reading the docs.
The tests looked good. For the docs, I added a
## See alsosection pointing tothe closely-related F841 (unused-variable) and the corresponding section to F841
pointing back to RUF059. It seems like you'd probably want both of these active
or at least to know about the other when reading the docs.