diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f50d9476..25253408 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: # Python - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.7.2 + rev: v0.8.3 hooks: - id: ruff args: ["--fix", "--unsafe-fixes"] 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, }