Skip to content

Commit bbf5886

Browse files
committed
switch from pre-commit to prek
1 parent e7f8f99 commit bbf5886

File tree

3 files changed

+26
-160
lines changed

3 files changed

+26
-160
lines changed

.github/workflows/lint.yaml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,5 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v6
2424

25-
- name: Install uv
26-
uses: astral-sh/setup-uv@v7
27-
28-
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v6
30-
with:
31-
python-version: ${{ matrix.python-version }}
32-
33-
- name: Install development dependencies
34-
run: uv sync --locked --all-extras --group dev
35-
36-
- name: Run pre-commit hooks
37-
uses: pre-commit/[email protected]
25+
- name: Run hooks
26+
uses: j178/prek-action@v1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ yes_code = "no_code.__main__:yes_code_cmd"
2929

3030
[dependency-groups]
3131
dev = [
32-
"pre-commit~=4.3.0",
32+
"prek~=0.2.22",
3333
"pytest-cov~=7.0.0",
3434
"pytest~=8.4.2",
3535
"setuptools>=61",

0 commit comments

Comments
 (0)