elfring opened a new issue #17384:
URL: https://github.com/apache/superset/issues/17384


   :eyes: Some source code analysis tools can help to find opportunities for 
improving software components.
   :thought_balloon: I propose to [increase the usage of augmented assignment 
statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements
 "Augmented assignment statements") accordingly.
   
   Would you like to integrate anything from a transformation result which can 
be generated by a command like the following?
   (:point_right: 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/superset/lokal -name '*.py')
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to