You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/12/02 13:34:23 UTC
(airflow-site) branch main updated: docs: update contribution guidelines for prek installation (#1301)
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-site.git
The following commit(s) were added to refs/heads/main by this push:
new 524ba012c5 docs: update contribution guidelines for prek installation (#1301)
524ba012c5 is described below
commit 524ba012c5b1098fb39a82831c75e8acbee75ef4
Author: Yeonguk Choo <ch...@gmail.com>
AuthorDate: Tue Dec 2 22:34:19 2025 +0900
docs: update contribution guidelines for prek installation (#1301)
---
CONTRIBUTE.md | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md
index 8b711d0ca9..9485999b79 100644
--- a/CONTRIBUTE.md
+++ b/CONTRIBUTE.md
@@ -136,13 +136,14 @@ brew install yarn
### Static checks
-The project uses many static checks using [prek](https://github.com/j178/prek). Every change is checked on
-CI and if it does not pass the tests it cannot be accepted. If you want to check locally
-then you should install Python3.10 or newer together with pip and run following c
-ommand to install it:
+The project uses many static checks using [prek](https://github.com/j178/prek). Every change is checked on CI and if it does not pass the tests it cannot be accepted. If you want to check locally, you should install Python 3.10 or newer together with pip and run the following command to install prek:
+```bash
+uv tool install prek
+```
+Or if you prefer pip:
```bash
-pip install -r requirements.txt
+pip install prek
```
To turn on prek checks for commit operations in git, enter: