Skip to content

Commit 08c781c

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

File tree

2 files changed

+40
-11
lines changed

2 files changed

+40
-11
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,14 @@ 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",
121+
"pre-commit>=4.5.1",
121122
]
122123

123124
documentation = ["mkdocs>=1.4.2", "mkdocs-material>=9.1.6"]
@@ -303,8 +304,8 @@ doc.help = "Live documentation server"
303304
doc.cmd = "mkdocs serve"
304305

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

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

uv.lock

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

0 commit comments

Comments
 (0)