Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #82

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions dpti/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"equi",
"gdi",
"hti",
"hti_liq",
"hti_ice",
"hti_liq",
"hti_water",
"lib",
"ti",
"ti_water",
"lib",
]
6 changes: 3 additions & 3 deletions dpti/dags/dp_ti_gdi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import time
from datetime import datetime, timedelta
from typing import ClassVar, Dict
from typing import ClassVar

Check warning on line 5 in dpti/dags/dp_ti_gdi.py

View check run for this annotation

Codecov / codecov/patch

dpti/dags/dp_ti_gdi.py#L5

Added line #L5 was not covered by tests

from airflow import DAG
from airflow.api.client.local_client import Client
Expand Down Expand Up @@ -30,12 +30,12 @@


class GDIDAGFactory:
default_args: ClassVar[Dict[str, object]] = {
default_args: ClassVar[dict[str, object]] = {

Check warning on line 33 in dpti/dags/dp_ti_gdi.py

View check run for this annotation

Codecov / codecov/patch

dpti/dags/dp_ti_gdi.py#L33

Added line #L33 was not covered by tests
"owner": "airflow",
"start_date": datetime(2018, 1, 1),
}

dagargs: ClassVar[Dict[str, object]] = {
dagargs: ClassVar[dict[str, object]] = {

Check warning on line 38 in dpti/dags/dp_ti_gdi.py

View check run for this annotation

Codecov / codecov/patch

dpti/dags/dp_ti_gdi.py#L38

Added line #L38 was not covered by tests
"default_args": default_args,
"schedule_interval": None,
}
Expand Down
Loading