Skip to content

Commit b9d91c3

Browse files
authored
Bump ruff to 0.13.3 and prek to 0.2.3 (#56355)
1 parent 41078f1 commit b9d91c3

12 files changed

Lines changed: 801 additions & 801 deletions

File tree

.github/actions/install-prek/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
default: "0.8.22" # Keep this comment to allow automatic replacement of uv version
2828
prek-version:
2929
description: 'prek version to use'
30-
default: "0.2.1" # Keep this comment to allow automatic replacement of prek version
30+
default: "0.2.3" # Keep this comment to allow automatic replacement of prek version
3131
skip-prek-hooks:
3232
description: "Skip some prek hooks from installation"
3333
default: ""

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ repos:
412412
types_or: [python, pyi]
413413
args: [--fix]
414414
require_serial: true
415-
additional_dependencies: ['ruff==0.13.2']
415+
additional_dependencies: ['ruff==0.13.3']
416416
exclude: ^airflow-core/tests/unit/dags/test_imports\.py$|^performance/tests/test_.*\.py$
417417
- id: ruff-format
418418
name: Run 'ruff format'

Dockerfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ COPY --from=scripts common.sh install_packaging_tools.sh install_additional_depe
16781678
ARG AIRFLOW_PIP_VERSION=25.2
16791679
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
16801680
ARG AIRFLOW_UV_VERSION=0.8.22
1681-
ARG AIRFLOW_PREK_VERSION="0.2.1"
1681+
ARG AIRFLOW_PREK_VERSION="0.2.3"
16821682

16831683
# UV_LINK_MODE=copy is needed since we are using cache mounted from the host
16841684
ENV AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \

airflow-core/docs/best-practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Installing and Using ruff
310310

311311
.. code-block:: bash
312312
313-
pip install "ruff>=0.13.2"
313+
pip install "ruff>=0.13.3"
314314
315315
2. **Running ruff**: Execute ``ruff`` to check your Dags for potential issues:
316316

dev/breeze/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PREK.
135135

136136
---------------------------------------------------------------------------------------------------------
137137

138-
Package config hash: 500727c0d31e88142b441b8e58c9db20a495af2994d65a4cc1a3e1e7d6eab8466a5e87242fbf361b888c5dd271861284dfb286409adb26b8f50e25d5fdfec034
138+
Package config hash: 71b4a2063359e3487de35d5f6b6acc11096799ccf64bf9e4497a3c7d258cba5fca384e8e199b5933bb1c46c262bdf3ff636167c8863b48905cb31cd10b3312c5
139139

140140
---------------------------------------------------------------------------------------------------------

dev/breeze/doc/ci/02_images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ can be used for CI images:
444444
| `ADDITIONAL_DEV_APT_ENV` | | Additional env variables defined when installing dev deps |
445445
| `AIRFLOW_PIP_VERSION` | `25.2` | `pip` version used. |
446446
| `AIRFLOW_UV_VERSION` | `0.8.22` | `uv` version used. |
447-
| `AIRFLOW_PREK_VERSION` | `0.2.1` | `prek` version used. |
447+
| `AIRFLOW_PREK_VERSION` | `0.2.3` | `prek` version used. |
448448
| `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. |
449449
| `PIP_PROGRESS_BAR` | `on` | Progress bar for PIP installation |
450450

dev/breeze/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies = [
6060
"jinja2>=3.1.5",
6161
"jsonschema>=4.19.1",
6262
"packaging>=25.0",
63-
"prek>=0.2.1",
63+
"prek>=0.2.3",
6464
"psutil>=5.9.6",
6565
"pygithub>=2.1.1",
6666
"pytest-xdist>=3.3.1",

dev/breeze/src/airflow_breeze/commands/release_management_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class VersionedFile(NamedTuple):
264264
AIRFLOW_USE_UV = False
265265
GITPYTHON_VERSION = "3.1.45"
266266
RICH_VERSION = "14.1.0"
267-
PREK_VERSION = "0.2.1"
267+
PREK_VERSION = "0.2.3"
268268
HATCH_VERSION = "1.14.2"
269269
PYYAML_VERSION = "6.0.3"
270270

dev/breeze/uv.lock

Lines changed: 790 additions & 790 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devel-common/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies = [
3535
"kgb>=7.2.0",
3636
"requests_mock>=1.11.0",
3737
"rich>=13.6.0",
38-
"ruff==0.13.2",
38+
"ruff==0.13.3",
3939
"semver>=3.0.2",
4040
"time-machine>=2.15.0",
4141
"wheel>=0.42.0",

0 commit comments

Comments
 (0)