unused-unpacked-variable (RUF059)
Fix is sometimes available.
This rule is unstable and in preview. The --preview
flag is required for use.
What it does
Checks for the presence of unused variables in unpacked assignments.
Why is this bad?
A variable that is defined but never used can confuse readers.
If a variable is intentionally defined-but-not-used, it should be
prefixed with an underscore, or some other value that adheres to the
lint.dummy-variable-rgx
pattern.
Example
Use instead: