Skip to content

Commit f5d6139

Browse files
committed
chore: migrate from pre-commit to prek
1 parent cec8022 commit f5d6139

File tree

3 files changed

+26
-56
lines changed

3 files changed

+26
-56
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
@@ -43,7 +43,7 @@ funding = "https://github.com/sponsors/python-scim"
4343
[dependency-groups]
4444
dev = [
4545
"mypy>=1.13.0",
46-
"pre-commit-uv>=4.1.4",
46+
"prek>=0.1.0",
4747
"pytest>=8.2.1",
4848
"pytest-coverage>=0.0",
4949
"pytest-httpserver>=1.0.10",
@@ -142,7 +142,7 @@ commands = [
142142
[tool.tox.env.style]
143143
runner = "uv-venv-runner"
144144
commands = [
145-
["pre-commit", "run", "--all-files", "--show-diff-on-failure"],
145+
["prek", "run", "--all-files", "--show-diff-on-failure"],
146146
]
147147

148148
[tool.tox.env.minversions]

uv.lock

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

0 commit comments

Comments
 (0)