From 95ab773f1da70281c9b2d43fa272d73ff9b4e4ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 22:33:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dpti/__init__.py | 4 ++-- dpti/dags/dp_ti_gdi.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dpti/__init__.py b/dpti/__init__.py index b1e3ee6f..0b03cf4b 100755 --- a/dpti/__init__.py +++ b/dpti/__init__.py @@ -6,10 +6,10 @@ "equi", "gdi", "hti", - "hti_liq", "hti_ice", + "hti_liq", "hti_water", + "lib", "ti", "ti_water", - "lib", ] diff --git a/dpti/dags/dp_ti_gdi.py b/dpti/dags/dp_ti_gdi.py index e5714b9c..fb90aeb6 100644 --- a/dpti/dags/dp_ti_gdi.py +++ b/dpti/dags/dp_ti_gdi.py @@ -2,7 +2,7 @@ import os import time from datetime import datetime, timedelta -from typing import ClassVar, Dict +from typing import ClassVar from airflow import DAG from airflow.api.client.local_client import Client @@ -30,12 +30,12 @@ class GDIDAGFactory: - default_args: ClassVar[Dict[str, object]] = { + default_args: ClassVar[dict[str, object]] = { "owner": "airflow", "start_date": datetime(2018, 1, 1), } - dagargs: ClassVar[Dict[str, object]] = { + dagargs: ClassVar[dict[str, object]] = { "default_args": default_args, "schedule_interval": None, }