Skip to content

Commit 3692ce8

Browse files
committed
Add prettier to pre-commit
And update other versions
1 parent 15d9ce6 commit 3692ce8

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-added-large-files
66
- id: check-case-conflict
@@ -14,35 +14,42 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.6.7
17+
rev: v0.7.1
1818
hooks:
1919
- id: ruff-format
2020

2121
- repo: https://github.com/python-jsonschema/check-jsonschema
22-
rev: 0.29.2
22+
rev: 0.29.4
2323
hooks:
2424
- id: check-github-workflows
2525

2626
- repo: https://github.com/rhysd/actionlint
27-
rev: v1.7.1
27+
rev: v1.7.3
2828
hooks:
2929
- id: actionlint
3030

3131
- repo: https://github.com/tox-dev/pyproject-fmt
32-
rev: 2.2.3
32+
rev: v2.5.0
3333
hooks:
3434
- id: pyproject-fmt
3535

3636
- repo: https://github.com/abravalheri/validate-pyproject
37-
rev: v0.19
37+
rev: v0.22
3838
hooks:
3939
- id: validate-pyproject
4040

4141
- repo: https://github.com/tox-dev/tox-ini-fmt
42-
rev: 1.4.0
42+
rev: 1.4.1
4343
hooks:
4444
- id: tox-ini-fmt
4545

46+
- repo: https://github.com/rbubley/mirrors-prettier
47+
rev: v3.3.3
48+
hooks:
49+
- id: prettier
50+
files: templates/switchers.js
51+
args: [--single-quote]
52+
4653
- repo: meta
4754
hooks:
4855
- id: check-hooks-apply

0 commit comments

Comments
 (0)