Skip to content

Commit 7509100

Browse files
ci: sync with template repository
1 parent 67abef2 commit 7509100

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/pre-commit.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ jobs:
2121
uses: liblaf/template/.github/actions/pre-commit@main
2222
with:
2323
autofix: true
24-
token: ${{ secrets.GH_TOKEN }}

.pre-commit-config.yaml

+8-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ ci:
22
autofix_commit_msg: "ci(pre-commit): auto fixes from pre-commit hooks"
33
autoupdate_commit_msg: "ci(pre-commit): pre-commit autoupdate"
44
skip:
5-
- cargo-check
6-
- cargo-clippy
7-
- cargo-test
8-
- cspell
9-
- latexindent
105
- poetry-lock
11-
- shellcheck
126
repos:
137
- repo: https://github.com/astral-sh/ruff-pre-commit
148
rev: v0.2.1
@@ -33,7 +27,7 @@ repos:
3327
- --modifylinebreaks
3428
- --GCString
3529
- repo: https://github.com/commitizen-tools/commitizen
36-
rev: v3.14.1
30+
rev: v3.15.0
3731
hooks:
3832
- id: commitizen
3933
- repo: https://github.com/koalaman/shellcheck-precommit
@@ -50,7 +44,6 @@ repos:
5044
- id: cargo-clippy
5145
- id: cargo-fmt
5246
- id: cargo-test
53-
- id: prettier
5447
- repo: https://github.com/pre-commit/mirrors-clang-format
5548
rev: v17.0.6
5649
hooks:
@@ -59,6 +52,12 @@ repos:
5952
- c
6053
- c++
6154
- cuda
55+
- repo: https://github.com/pre-commit/mirrors-prettier
56+
rev: v3.1.0
57+
hooks:
58+
- id: prettier
59+
stages:
60+
- pre-commit
6261
- repo: https://github.com/pre-commit/pre-commit-hooks
6362
rev: v4.5.0
6463
hooks:
@@ -95,7 +94,7 @@ repos:
9594
- id: check-github-actions
9695
- id: check-github-workflows
9796
- repo: https://github.com/python-poetry/poetry
98-
rev: 1.7.0
97+
rev: 1.7.1
9998
hooks:
10099
- id: poetry-check
101100
- id: poetry-export

0 commit comments

Comments
 (0)