Skip to content

Commit 3978748

Browse files
committed
Switch from pre-commit to prek
https://github.com/j178/prek
1 parent 0655b91 commit 3978748

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ on:
1111
workflow_dispatch:
1212

1313
jobs:
14-
pre-commit:
15-
name: pre-commit
14+
prek:
15+
name: prek
1616
runs-on: ubuntu-latest
1717

1818
steps:
1919
- uses: actions/checkout@v6
2020
- uses: actions/setup-python@v6
21-
- uses: pre-commit/action@v3.0.1
21+
- uses: j178/prek-action@v1
2222

2323
tox:
2424
name: ${{ matrix.toxenv }}

mise.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tools]
2-
pre-commit = "latest"
2+
prek = "latest"
33
python = "3.14.0"
44

55
[env]
@@ -8,5 +8,5 @@ _.python.venv = { path = ".venv", create = true }
88
[hooks]
99
postinstall = [
1010
"uv sync --active",
11-
"pre-commit install",
11+
"prek install",
1212
]

0 commit comments

Comments
 (0)