This is an automated email from the ASF dual-hosted git repository.

kaxilnaik 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 10b276afaa1 Fix prek arg (`--ref-from` -> `--from-ref`) in AGENTS.md 
(#62675)
10b276afaa1 is described below

commit 10b276afaa1d663067e8c1eca76ed36595da2f92
Author: Dev-iL <[email protected]>
AuthorDate: Mon Mar 2 21:02:12 2026 +0200

    Fix prek arg (`--ref-from` -> `--from-ref`) in AGENTS.md (#62675)
---
 AGENTS.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md
index c0e266aebbe..3e2e64d0d17 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -17,10 +17,10 @@
 - **Run a Python script:** `breeze run python dev/my_script.py`
 - **Run Airflow CLI:** `breeze run airflow dags list`
 - **Type-check:** `breeze run mypy path/to/code`
-- **Lint with ruff only:** `prek run ruff --ref-from <target_branch>`
-- **Format with ruff only:** `prek run ruff-format --ref-from <target_branch>`
-- **Run regular (fast) static checks:** `prek run --ref-from <target_branch> 
--hook-stage pre-commit`
-- **Run manual (slower) checks:** `prek run --ref-from <target_branch> 
--hook-stage manual`
+- **Lint with ruff only:** `prek run ruff --from-ref <target_branch>`
+- **Format with ruff only:** `prek run ruff-format --from-ref <target_branch>`
+- **Run regular (fast) static checks:** `prek run --from-ref <target_branch> 
--hook-stage pre-commit`
+- **Run manual (slower) checks:** `prek run --from-ref <target_branch> 
--hook-stage manual`
 
 `<target_branch>` is the branch the PR will be merged into — usually `main`, 
but could be
 `v3-1-test` when creating a PR for the 3.1 branch.
@@ -111,9 +111,9 @@ code review checklist in 
[`.github/instructions/code-review.instructions.md`](.g
    API correctness, and AI-generated code signals. Fix any violations before 
pushing.
 3. Confirm the code follows the project's coding standards and architecture 
boundaries
    described in this file.
-4. Run regular (fast) static checks (`prek run --ref-from <target_branch> 
--hook-stage pre-commit`)
+4. Run regular (fast) static checks (`prek run --from-ref <target_branch> 
--hook-stage pre-commit`)
    and fix any failures.
-5. Run manual (slower) checks (`prek run --ref-from <target_branch> 
--hook-stage manual`) and fix any failures.
+5. Run manual (slower) checks (`prek run --from-ref <target_branch> 
--hook-stage manual`) and fix any failures.
 6. Run relevant tests (`breeze run pytest <path> -xvs`) and confirm they pass.
 7. Check for security issues — no secrets, no injection vulnerabilities, no 
unsafe patterns.
 

Reply via email to