Skip to content

Commit

Permalink
style(project): reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Lee committed Aug 17, 2024
1 parent d5b708a commit 6e17cfc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
13 changes: 11 additions & 2 deletions dags/airlfow-db-cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@
import airflow
from airflow import settings
from airflow.configuration import conf
from airflow.models import (DAG, DagModel, DagRun, DagTag, Log, SlaMiss,
TaskInstance, Variable, XCom)
from airflow.models import (
DAG,
DagModel,
DagRun,
DagTag,
Log,
SlaMiss,
TaskInstance,
Variable,
XCom,
)

try:
from airflow.jobs import BaseJob
Expand Down
3 changes: 1 addition & 2 deletions dags/ods/google_search_console/dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

from airflow import DAG
from airflow.operators.python_operator import PythonOperator
from ods.google_search_console.udfs.google_search import \
GoogleSearchConsoleReporter
from ods.google_search_console.udfs.google_search import GoogleSearchConsoleReporter

DEFAULT_ARGS = {
"owner": "davidtnfsh",
Expand Down
6 changes: 4 additions & 2 deletions dags/ods/kktix_ticket_orders/udfs/kktix_refund.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

from google.cloud import bigquery
from ods.kktix_ticket_orders.udfs.bigquery_loader import TABLE
from ods.kktix_ticket_orders.udfs.kktix_api import (_get_attendance_book_id,
_get_attendee_ids)
from ods.kktix_ticket_orders.udfs.kktix_api import (
_get_attendance_book_id,
_get_attendee_ids,
)

CLIENT = bigquery.Client(project=os.getenv("BIGQUERY_PROJECT"))

Expand Down
3 changes: 1 addition & 2 deletions tests/test_cakeresume_uploader.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import csv
from pathlib import Path

from contrib.survey_cake.udfs.survey_cake_csv_uploader import \
SurveyCakeCSVUploader
from contrib.survey_cake.udfs.survey_cake_csv_uploader import SurveyCakeCSVUploader


def test_cakeresume_uploader() -> None:
Expand Down

0 comments on commit 6e17cfc

Please sign in to comment.