consider-using-augmented-assign / C0210#

Message emitted:

Use '%s' to do an augmented assign directly

Description:

Emitted when an assignment is referring to the object that it is assigning to. This can be changed to be an augmented assign.

Problematic code:

x = 1
x = x + 1  # [consider-using-augmented-assign]

Correct code:

x = 1
x += 1

Created by the refactoring checker.