Skip to content

Commit e5494ad

Browse files
committed
chore: migrate from pre-commit to prek
1 parent 31d15a6 commit e5494ad

File tree

3 files changed

+28
-58
lines changed

3 files changed

+28
-58
lines changed

doc/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Code style
2727
We use `ruff <https://docs.astral.sh/ruff/>`_ along with other tools to format our code.
2828
Please run ``tox -e style`` on your patches before submitting them.
2929
In order to perform a style check and correction at each commit you can use our
30-
`pre-commit <https://pre-commit.com/>`_ configuration with ``pre-commit install``.
30+
`prek <https://github.com/j178/prek>`_ configuration with ``prek install``.
3131

3232
Documentation
3333
-------------

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module-root = ""
5252
dev = [
5353
"mypy>=1.13.0",
5454
"portpicker>=1.6.0",
55-
"pre-commit-uv>=4.1.4",
55+
"prek>=0.1.0",
5656
"pytest>=8.2.1",
5757
"pytest-asyncio>=0.24.0",
5858
"pytest-coverage>=0.0",
@@ -153,7 +153,7 @@ commands = [
153153
[tool.tox.env.style]
154154
runner = "uv-venv-runner"
155155
commands = [
156-
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
156+
["prek", "run", "--all-files", "--show-diff-on-failure"],
157157
]
158158

159159
[tool.tox.env.minversions]

uv.lock

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

0 commit comments

Comments
 (0)