persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.

Home Page:https://persepolisdm.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase the usage of augmented assignment statements

elfring opened this issue ยท comments

๐Ÿ‘€ Some source code analysis tools can help to find opportunities for improving software components.
๐Ÿ’ญ I propose to increase the usage of augmented assignment statements accordingly.

Would you like to integrate anything from a transformation result which can be generated by a command like the following?
(๐Ÿ‘‰ Please check also for questionable change suggestions because of an evolving search pattern.)

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')

๐Ÿ”ฎ How will the development interests evolve further also according to update candidates in 75 lines of this software?