Skip to content

Commit 7c45e68

Browse files
authored
Update the UV command for upgrading tools in the Contributing docs (#61756)
* update uv command in contributing doc * add uv command in introduction and remove from prek related commands
1 parent cd633b7 commit 7c45e68

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

contributing-docs/03_contributors_quick_start.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,14 @@ To avoid burden on our CI infrastructure and to save time, prek hooks can be run
261261

262262
Installing prek is best done with ``uv`` (recommended) or ``pipx``.
263263

264+
You can also update the tools installed with UV, including ``prek``.
265+
266+
Run the following command to upgrade all UV-managed tools:
267+
268+
.. code-block:: bash
269+
270+
uv tool upgrade --all
271+
264272
1. Installing required packages
265273

266274
on Debian / Ubuntu, install via
@@ -285,6 +293,7 @@ on macOS, install via
285293
286294
uv tool install prek
287295
296+
288297
or with pipx:
289298

290299
.. code-block:: bash
@@ -361,6 +370,7 @@ It will run prek hooks automatically before committing and stops the commit on f
361370
cd ~/Projects/airflow
362371
prek uninstall
363372
373+
364374
- For more information on this visit |08_static_code_checks.rst|
365375

366376
.. |08_static_code_checks.rst| raw:: html

0 commit comments

Comments
 (0)