Skip to content

Commit 458a45b

Browse files
authored
Update .pre-commit-config.yaml
1 parent f85cd31 commit 458a45b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ repos:
2626
name: Run Ruff (lint) on Tools/peg_generator/
2727
args: [--exit-non-zero-on-fix, --config=Tools/peg_generator/.ruff.toml]
2828
files: ^Tools/peg_generator/
29+
- id: ruff-check
30+
name: Run Ruff (lint) on Tools/wasm/
31+
args: [--exit-non-zero-on-fix, --config=Tools/wasm/.ruff.toml]
32+
files: ^Tools/wasm/
2933
- id: ruff-format
3034
name: Run Ruff (format) on Doc/
3135
args: [--check]
@@ -34,10 +38,6 @@ repos:
3438
name: Run Ruff (format) on Tools/build/check_warnings.py
3539
args: [--check, --config=Tools/build/.ruff.toml]
3640
files: ^Tools/build/check_warnings.py
37-
- id: ruff-check
38-
name: Run Ruff (lint) on Tools/wasm/
39-
args: [--exit-non-zero-on-fix, --config=Tools/wasm/.ruff.toml]
40-
files: ^Tools/wasm/
4141
- id: ruff-format
4242
name: Run Ruff (format) on Tools/wasm/
4343
args: [--check, --config=Tools/wasm/.ruff.toml]

0 commit comments

Comments
 (0)