Skip to content

Commit 98dbcad

Browse files
committed
prek priorities for parallel performance
1 parent 18a904f commit 98dbcad

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,61 @@
1+
priorities:
2+
fix: 0
3+
fix-eol: 20
4+
fix-whitespace: 30
5+
check: 40
6+
17
repos:
28
- repo: https://github.com/pre-commit/pre-commit-hooks
39
rev: v6.0.0
410
hooks:
511
- id: check-added-large-files
612
args: [--maxkb=500]
13+
priority: check
714
- id: check-case-conflict
15+
priority: check
816
- id: check-merge-conflict
17+
priority: check
918
- id: check-json
19+
priority: check
1020
- id: check-yaml
21+
priority: check
1122
- id: end-of-file-fixer
23+
priority: fix-eol
1224
- id: trailing-whitespace
1325
args: [--markdown-linebreak-ext=md]
26+
priority: fix-whitespace
1427

1528
- repo: https://github.com/python-jsonschema/check-jsonschema
1629
rev: 0.37.0
1730
hooks:
1831
- id: check-dependabot
32+
priority: check
1933
- id: check-github-workflows
34+
priority: check
2035

2136
- repo: https://github.com/rhysd/actionlint
2237
rev: v1.7.11
2338
hooks:
2439
- id: actionlint
40+
priority: check
2541

2642
- repo: https://github.com/zizmorcore/zizmor-pre-commit
2743
rev: v1.23.1
2844
hooks:
2945
- id: zizmor
46+
priority: check
3047

3148
- repo: https://github.com/crate-ci/typos
3249
rev: v1.44.0
3350
hooks:
3451
- id: typos
52+
priority: check
3553

3654
- repo: https://github.com/oxc-project/mirrors-oxlint
3755
rev: v1.55.0
3856
hooks:
3957
- id: oxlint
58+
priority: check
4059

4160
- repo: local
4261
hooks:
@@ -46,8 +65,11 @@ repos:
4665
language: system
4766
pass_filenames: false
4867
files: ^src/.*\.(ts|tsx|astro)$
68+
priority: check
4969

5070
- repo: meta
5171
hooks:
5272
- id: check-hooks-apply
73+
priority: check
5374
- id: check-useless-excludes
75+
priority: check

0 commit comments

Comments
 (0)