@@ -144,8 +144,8 @@ reST formatting
144144Whether the :doc: `Sphinx <start >` documentation is written in valid :doc: `rest `
145145format can be checked with `sphinx-lint
146146<https://pypi.org/project/sphinx-lint/> `_. We usually include this in our
147- :doc: `pre-commit
148- <Python4DataScience:productive/git/advanced/hooks/pre-commit>` configuration:
147+ :doc: `prek < Python4DataScience:productive/git/advanced/hooks/prek >`
148+ configuration:
149149
150150.. code-block :: yaml
151151 :caption : .pre-commit-config.yaml
@@ -194,10 +194,10 @@ Code formatting
194194The formatting of code blocks can be checked with `blacken-docs
195195<https://github.com/adamchainz/blacken-docs> `_, which uses
196196:doc: `Python4DataScience:productive/qa/black `. We usually integrate the library
197- via the :doc: `pre-commit
198- <Python4DataScience:productive/git/advanced/hooks/pre-commit>` framework:
197+ via :doc: `prek <Python4DataScience:productive/git/advanced/hooks/prek >`:
199198
200199.. code-block :: yaml
200+ :caption : .pre-commit-config.yaml
201201
202202 - repo : https://github.com/adamchainz/blacken-docs
203203 rev : 7ae9389351f4090e3993de28015a05a18ca6b8a7 # v1.12.1
@@ -310,8 +310,8 @@ You should then update your :ref:`.gitignore <gitignore>` file if necessary:
310310
311311 styles/*
312312
313- You can configure Vale for the :doc: `pre-commit
314- <Python4DataScience:productive/git/advanced/hooks/pre-commit>` framework with:
313+ You can configure Vale for :doc: `prek
314+ <Python4DataScience:productive/git/advanced/hooks/prek>` with:
315315
316316.. code-block :: yaml
317317 :caption : .pre-commit-config.yaml
@@ -381,8 +381,8 @@ example with
381381 commands =
382382 interrogate --quiet --fail-under 95 src tests
383383
384- You can also use ``interrogate `` with :doc: `pre-commit
385- <Python4DataScience:productive/git/advanced/hooks/pre-commit >`:
384+ You can also use ``interrogate `` with :doc: `prek
385+ <Python4DataScience:productive/git/advanced/hooks/prek >`:
386386
387387.. code-block :: yaml
388388 :caption : .pre-commit-config.yaml
0 commit comments