Increase the usage of augmented assignment statements
elfring opened this issue ยท comments
Markus Elfring commented
Would you like to integrate anything from a transformation result which can be generated by a command like the following?
(
lokal$ perl -p -i.orig -0777 -e 's/^(?<indentation>\s+)(?<target>\S+)\s*=\s*\k<target>[ \t]*(?<operator>[+%^@]|-(?!>)|&(?!&)|\|(?!\|)|\*\*?|\/\/?|<<|>>)/$+{indentation}$+{target} $+{operator}=/gm' $(find ~/Projekte/PersepolisDM/lokal -name '*.py')