From aba709d11ec5eb962cb8dff5b43029167e691d3e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:27:50 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=20[pre-commit.ci]=20pre-commit=20?= =?UTF-8?q?autoupdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.12.0) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.15.0...v1.16.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a14515648..9aa5f65864 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: - --py37-plus - --keep-runtime-typing - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.12 + rev: v0.12.0 hooks: - id: ruff args: @@ -74,7 +74,7 @@ repos: alias: black additional_dependencies: [black>=22.10.0] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.15.0" + rev: "v1.16.1" hooks: - id: mypy From 9d5b806f0de70ccf9f05a26b322965795c2db403 Mon Sep 17 00:00:00 2001 From: pankajastro Date: Tue, 24 Jun 2025 09:24:08 +0530 Subject: [PATCH 2/2] Move from attr to attrs --- cosmos/operators/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmos/operators/local.py b/cosmos/operators/local.py index 1ace45a596..fcb3b2d878 100644 --- a/cosmos/operators/local.py +++ b/cosmos/operators/local.py @@ -25,7 +25,7 @@ except ImportError: from airflow.utils.context import Context # type: ignore[attr-defined] from airflow.version import version as airflow_version -from attr import define +from attrs import define from packaging.version import Version from cosmos import cache, settings