This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7c45e6860e8 Update the UV command for upgrading tools in the
Contributing docs (#61756)
7c45e6860e8 is described below
commit 7c45e6860e863f2dcccb87396612442945059573
Author: Pratiksha <[email protected]>
AuthorDate: Wed Mar 11 04:37:53 2026 +0530
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
---
contributing-docs/03_contributors_quick_start.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/contributing-docs/03_contributors_quick_start.rst
b/contributing-docs/03_contributors_quick_start.rst
index 2288a4a8a44..454a7b782db 100644
--- a/contributing-docs/03_contributors_quick_start.rst
+++ b/contributing-docs/03_contributors_quick_start.rst
@@ -261,6 +261,14 @@ To avoid burden on our CI infrastructure and to save time,
prek hooks can be run
Installing prek is best done with ``uv`` (recommended) or ``pipx``.
+You can also update the tools installed with UV, including ``prek``.
+
+ Run the following command to upgrade all UV-managed tools:
+
+ .. code-block:: bash
+
+ uv tool upgrade --all
+
1. Installing required packages
on Debian / Ubuntu, install via
@@ -285,6 +293,7 @@ on macOS, install via
uv tool install prek
+
or with pipx:
.. code-block:: bash
@@ -361,6 +370,7 @@ It will run prek hooks automatically before committing and
stops the commit on f
cd ~/Projects/airflow
prek uninstall
+
- For more information on this visit |08_static_code_checks.rst|
.. |08_static_code_checks.rst| raw:: html