gaogaotiantian commented on code in PR #54048:
URL: https://github.com/apache/spark/pull/54048#discussion_r2740340661


##########
.pre-commit-config.yaml:
##########
@@ -0,0 +1,16 @@
+repos:
+  - repo: local
+    hooks:
+      - id: format-python
+        name: Format Python code
+        entry: ./dev/reformat-python
+        language: system
+        types: [python]
+        pass_filenames: false
+
+      - id: ruff
+        name: Lint Python code with Ruff
+        entry: ./dev/lint-python --ruff

Review Comment:
   mypy is slow, especially without cache. It's pure python. astral and meta 
are both working on a rust-based type checker which are significantly faster 
than mypy, but neither of them is stable enough for production use.



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