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
The following commit(s) were added to refs/heads/main by this push:
new 7a21fca Use local ruff for its checks
7a21fca is described below
commit 7a21fca5d5e60f7df8c51e8b0c06f7204b07f97c
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Feb 12 20:47:28 2025 +0200
Use local ruff for its checks
---
.pre-commit-config.yaml | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 02e2036..c9e7ea4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,14 +20,18 @@ repos:
- --license-filepath
- LICENSE-template.txt
- --fuzzy-match-generates-todo
-- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.9.6
+- repo: local
hooks:
- id: ruff
- args: [--fix]
+ name: Ruff Linter
+ entry: ruff check --fix
+ language: system
+ types: [python]
- id: ruff-format
-- repo: local
- hooks:
+ name: Ruff Formatter
+ entry: ruff format --force-exclude
+ language: system
+ types: [python]
- id: mypy
name: Mypy Type Check
entry: mypy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]