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

kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 1cab47475a158906e93f7e32a93931f48f3500ac
Author: Kaxil Naik <[email protected]>
AuthorDate: Tue Apr 29 19:54:18 2025 +0530

    Add `--preview` flag to `ruff` for AF 2 to 3 migration (#49954)
    
    (cherry picked from commit 0203d2430468a9bae476657994e1be5230b092b1)
---
 RELEASE_NOTES.rst                                        | 6 +++---
 airflow-core/docs/installation/upgrading_to_airflow3.rst | 6 +++---
 reproducible_build.yaml                                  | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst
index 19e9dac261c..bc5d962cbda 100644
--- a/RELEASE_NOTES.rst
+++ b/RELEASE_NOTES.rst
@@ -537,7 +537,7 @@ Airflow 3.0 includes improved support for upgrade 
validation. Use the following
 configs or deprecated usage patterns:
 
 - ``airflow config lint``: Identifies removed or invalid config keys
-- ``ruff check --select AIR30``: Flags removed interfaces and common migration 
issues
+- ``ruff check --select AIR30 --preview``: Flags removed interfaces and common 
migration issues
 
 CLI & API Changes
 ^^^^^^^^^^^^^^^^^
@@ -775,8 +775,8 @@ compatible with Airflow 3.0. These checks are packaged 
under the ``AIR30x`` rule
 
 .. code-block:: bash
 
-    ruff check dags/ --select AIR301
-    ruff check dags/ --select AIR301 --fix
+    ruff check dags/ --select AIR301  --preview
+    ruff check dags/ --select AIR301 --fix  --preview
 
 These checks can automatically fix many common issues such as renamed 
arguments, removed imports, or legacy context
 variable usage.
diff --git a/airflow-core/docs/installation/upgrading_to_airflow3.rst 
b/airflow-core/docs/installation/upgrading_to_airflow3.rst
index 35d7526e66d..88057087967 100644
--- a/airflow-core/docs/installation/upgrading_to_airflow3.rst
+++ b/airflow-core/docs/installation/upgrading_to_airflow3.rst
@@ -56,19 +56,19 @@ for dag incompatibilities that will need to be fixed before 
they will work as ex
 
 .. code-block:: bash
 
-    ruff check dag/ --select AIR301
+    ruff check dag/ --select AIR301 --preview
 
 To preview the recommended fixes, run the following command:
 
 .. code-block:: bash
 
-    ruff check dag/ --select AIR301 --show-fixes
+    ruff check dag/ --select AIR301 --show-fixes --preview
 
 Some changes can be automatically fixed. To do so, run the following command:
 
 .. code-block:: bash
 
-    ruff check dag/ --select AIR301 --fix
+    ruff check dag/ --select AIR301 --fix --preview
 
 Step 4: Install the Standard Providers
 --------------------------------------
diff --git a/reproducible_build.yaml b/reproducible_build.yaml
index c7eb358bb62..cab9b1202db 100644
--- a/reproducible_build.yaml
+++ b/reproducible_build.yaml
@@ -1,2 +1,2 @@
-release-notes-hash: f8221ee2a5606d56187013d1d738de92
-source-date-epoch: 1745867934
+release-notes-hash: 7509538c98611fdf412cefaf85506cc5
+source-date-epoch: 1745930526

Reply via email to