michael-s-molina commented on code in PR #24197:
URL: https://github.com/apache/superset/pull/24197#discussion_r1212100621


##########
.pre-commit-config.yaml:
##########
@@ -15,14 +15,26 @@
 # limitations under the License.
 #
 repos:
+  - repo: https://github.com/MarcoGorelli/auto-walrus
+    rev: v0.2.2
+    hooks:
+      - id: auto-walrus
+  - repo: https://github.com/asottile/pyupgrade
+    rev: v3.4.0
+    hooks:
+      - id: pyupgrade
+        args:
+          - --keep-runtime-typing
+          - --py38-plus
+  - repo: https://github.com/hadialqattan/pycln

Review Comment:
   Does `pyupgrade` is restrained to our supported Python versions? Another way 
of asking is if a new Python version is launched with a new syntax, will 
`pyupgrade` try to change the files to the new syntax before we support this 
new version?



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