This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-atr-experiments.git

commit f9846b9ef9fcb2623384a863981331ef85efa41f
Author: Sean B. Palmer <s...@miscoranda.com>
AuthorDate: Wed Feb 12 19:08:13 2025 +0200

    Use remote repositories for ruff checks
---
 .pre-commit-config.yaml | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index bf872ec..5d9b086 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,20 +20,14 @@ repos:
           - --license-filepath
           - LICENSE-template.txt
           - --fuzzy-match-generates-todo
-  - repo: local
+  - repo: https://github.com/astral-sh/ruff-pre-commit
+    rev: v0.9.6
     hooks:
       - id: ruff
-        name: Ruff Linter
-        entry: ruff check --fix
-        language: system
-        types: [python]
-
+        args: [--fix]
       - id: ruff-format
-        name: Ruff Formatter
-        entry: ruff format --force-exclude
-        language: system
-        types: [python]
-
+  - repo: local
+    hooks:
       - id: pyright
         name: Pyright Type Check
         entry: pyright


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tooling.apache.org
For additional commands, e-mail: dev-h...@tooling.apache.org

Reply via email to