Skip to content

Commit 8fbdedb

Browse files
committed
Alphabetize ruff pre-commit checks.
1 parent 7dfaa76 commit 8fbdedb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
rev: v0.13.2
44
hooks:
5+
- id: ruff-check
6+
name: Run Ruff (lint) on Apple/
7+
args: [--exit-non-zero-on-fix, --config=Apple/.ruff.toml]
8+
files: ^Apple/
59
- id: ruff-check
610
name: Run Ruff (lint) on Doc/
711
args: [--exit-non-zero-on-fix]
@@ -30,10 +34,10 @@ repos:
3034
name: Run Ruff (lint) on Tools/wasm/
3135
args: [--exit-non-zero-on-fix, --config=Tools/wasm/.ruff.toml]
3236
files: ^Tools/wasm/
33-
- id: ruff-check
34-
name: Run Ruff (lint) on Apple/
37+
- id: ruff-format
38+
name: Run Ruff (format) on Apple/
3539
args: [--exit-non-zero-on-fix, --config=Apple/.ruff.toml]
36-
files: ^Apple/
40+
files: ^Apple
3741
- id: ruff-format
3842
name: Run Ruff (format) on Doc/
3943
args: [--check]
@@ -46,10 +50,6 @@ repos:
4650
name: Run Ruff (format) on Tools/wasm/
4751
args: [--check, --config=Tools/wasm/.ruff.toml]
4852
files: ^Tools/wasm/
49-
- id: ruff-format
50-
name: Run Ruff (format) on Apple/
51-
args: [--exit-non-zero-on-fix, --config=Apple/.ruff.toml]
52-
files: ^Apple
5353

5454
- repo: https://github.com/psf/black-pre-commit-mirror
5555
rev: 25.9.0

0 commit comments

Comments
 (0)