pylint icon indicating copy to clipboard operation
pylint copied to clipboard

Simplifying assignment operators operation with same variable in left and right hand side of assignment

Open EugeneZelenko opened this issue 5 years ago • 1 comments

It'll be great to have check which will suggest to simplify assignment operators, like "value = value + 1" to "value += 1".

EugeneZelenko avatar Feb 08 '20 03:02 EugeneZelenko

:eyes: I am looking for further clarification also according to the general topic “Increase the usage of augmented assignment statements”.

elfring avatar Oct 17 '21 19:10 elfring

@DanielNoord: Thank you!

EugeneZelenko avatar Sep 22 '22 21:09 EugeneZelenko