Skip to content

Commit 1dfb345

Browse files
committed
build(prek): replace 'pre-commit' with 'prek' in project configuration
1 parent 20aaa7d commit 1dfb345

File tree

2 files changed

+28
-47
lines changed

2 files changed

+28
-47
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ test = [
111111

112112
linters = [
113113
"ruff>=0.11.5",
114-
"pre-commit>=3.2.0",
115114
"mypy>=1.16.0",
116115
"types-deprecated>=1.2.9.2",
117116
"types-python-dateutil>=2.8.19.13",
118117
"types-PyYAML>=5.4.3",
119118
"types-termcolor>=0.1.1",
120119
"types-colorama>=0.4.15.20240311",
120+
"prek>=0.2.28",
121121
]
122122

123123
documentation = ["mkdocs>=1.4.2", "mkdocs-material>=9.1.6"]
@@ -303,8 +303,8 @@ doc.help = "Live documentation server"
303303
doc.cmd = "mkdocs serve"
304304

305305
ci.help = "Run all tasks in CI"
306-
ci.sequence = ["check-commit", { cmd = "pre-commit run --all-files" }, "cover"]
306+
ci.sequence = ["check-commit", { cmd = "prek run --all-files" }, "cover"]
307307
ci.env = { SKIP = "no-commit-to-branch" }
308308

309309
setup-pre-commit.help = "Install pre-commit hooks"
310-
setup-pre-commit.cmd = "pre-commit install"
310+
setup-pre-commit.cmd = "prek install"

uv.lock

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

0 commit comments

Comments
 (0)