diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89a1b11b8f5b7..6c6657ad9306b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -343,7 +343,7 @@ repos: types_or: [python, pyi] args: [--fix] require_serial: true - additional_dependencies: ['ruff==0.14.6'] + additional_dependencies: ['ruff==0.14.7'] 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 a52276001d2ef..2c8ed25ff2281 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.14.6" + pip install "ruff>=0.14.7" 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 4e917b105bc2d..19d1c8714da88 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.14.6", + "ruff==0.14.7", "semver>=3.0.2", "typer-slim>=0.15.1", # limited due to changes needed https://github.com/apache/airflow/issues/58470 @@ -103,7 +103,7 @@ dependencies = [ "mypy" = [ # Mypy dependencies # TODO: upgrade to newer versions of MyPy continuously as they are released - "mypy==1.18.2", + "mypy==1.19.0", "types-Deprecated>=1.2.9.20240311", "types-Markdown>=3.6.0.20240316", "types-PyMySQL>=1.1.0.20240425", diff --git a/scripts/ci/prek/check_imports_in_providers.py b/scripts/ci/prek/check_imports_in_providers.py index 3c36ce0bd3494..52bd3110dcb3e 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,<3.11" # dependencies = [ # "rich>=13.6.0", -# "ruff==0.14.6", +# "ruff==0.14.7", # ] # /// from __future__ import annotations diff --git a/scripts/ci/prek/ruff_format.py b/scripts/ci/prek/ruff_format.py index 5e85b6b5fdcde..c10865560cd2c 100755 --- a/scripts/ci/prek/ruff_format.py +++ b/scripts/ci/prek/ruff_format.py @@ -18,7 +18,7 @@ # /// script # requires-python = ">=3.10,<3.11" # dependencies = [ -# "ruff==0.14.6", +# "ruff==0.14.7", # ] # ///