self-assigning-variable (PLW0127)
Derived from the Pylint linter.
What it does
Checks for self-assignment of variables.
Why is this bad?
Self-assignment of variables is redundant and likely a mistake.
Example
Use instead:
Derived from the Pylint linter.
Checks for self-assignment of variables.
Self-assignment of variables is redundant and likely a mistake.
Use instead: