Skip to content

Commit 36e22cc

Browse files
committed
Switch from pre-commit to prek
1 parent 78caa46 commit 36e22cc

3 files changed

Lines changed: 73 additions & 126 deletions

File tree

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pre-commit
1+
name: Static checks
22

33
on:
44
push:
@@ -13,4 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-python@v3
16-
- uses: pre-commit/action@v3.0.1
16+
- name: "Install prek"
17+
run: >
18+
python -m pip install prek
19+
- name: "Run prek"
20+
run: >
21+
prek --all-files --verbose

elt-common/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919

2020
[dependency-groups]
2121
dev = [
22-
"pre-commit>=4.2.0",
22+
"prek>=0.1.6",
2323
"pydantic-settings~=2.10.1",
2424
"pytest~=8.3.5",
2525
"pytest-httpx~=0.35.0",

elt-common/uv.lock

Lines changed: 65 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)