diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4d06e216e167..c582c053308f6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -412,7 +412,7 @@ repos: types_or: [python, pyi] args: [--fix] require_serial: true - additional_dependencies: ['ruff==0.13.1'] + additional_dependencies: ['ruff==0.13.2'] exclude: ^airflow-core/tests/unit/dags/test_imports\.py$|^performance/tests/test_.*\.py$ - id: ruff-format name: Run 'ruff format' diff --git a/airflow-core/docs/best-practices.rst b/airflow-core/docs/best-practices.rst index 2145a453197ae..874b66c8cd29c 100644 --- a/airflow-core/docs/best-practices.rst +++ b/airflow-core/docs/best-practices.rst @@ -310,7 +310,7 @@ Installing and Using ruff .. code-block:: bash - pip install "ruff>=0.13.1" + pip install "ruff>=0.13.2" 2. **Running ruff**: Execute ``ruff`` to check your Dags for potential issues: diff --git a/devel-common/pyproject.toml b/devel-common/pyproject.toml index 0217539fec498..242102dc33792 100644 --- a/devel-common/pyproject.toml +++ b/devel-common/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "kgb>=7.2.0", "requests_mock>=1.11.0", "rich>=13.6.0", - "ruff==0.13.1", + "ruff==0.13.2", "semver>=3.0.2", "time-machine>=2.15.0", "wheel>=0.42.0", diff --git a/scripts/ci/prek/check_imports_in_providers.py b/scripts/ci/prek/check_imports_in_providers.py index 12843902db219..cd546b4607e43 100755 --- a/scripts/ci/prek/check_imports_in_providers.py +++ b/scripts/ci/prek/check_imports_in_providers.py @@ -19,7 +19,7 @@ # requires-python = ">=3.10" # dependencies = [ # "rich>=13.6.0", -# "ruff==0.13.1", +# "ruff==0.13.2", # ] # /// from __future__ import annotations diff --git a/scripts/ci/prek/ruff_format.py b/scripts/ci/prek/ruff_format.py index c3f0145698835..af8b2e5fa2228 100755 --- a/scripts/ci/prek/ruff_format.py +++ b/scripts/ci/prek/ruff_format.py @@ -18,7 +18,7 @@ # /// script # requires-python = ">=3.10" # dependencies = [ -# "ruff==0.13.1", +# "ruff==0.13.2", # ] # ///