Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hbruch committed Feb 23, 2025
1 parent 79c6a8a commit 0ed0d95
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion pipeline/assets/gtfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def reload_pgbouncer_databases(import_op):

@graph_asset(
group_name='gtfs',
automation_condition=(AutomationCondition.on_cron('0 1 * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()),
automation_condition=(
AutomationCondition.on_cron('0 1 * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()
),
)
def gtfs():
"""
Expand Down
4 changes: 3 additions & 1 deletion pipeline/assets/radvis.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
@asset(
compute_kind='Geopackage',
group_name='radvis',
automation_condition=(AutomationCondition.on_cron('0 1 * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()),
automation_condition=(
AutomationCondition.on_cron('0 1 * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()
),
)
def radnetz_bw_download() -> None:
"""
Expand Down
4 changes: 3 additions & 1 deletion pipeline/assets/sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
io_manager_key='pg_gpd_io_manager',
compute_kind='Lamassu',
group_name='sharing',
automation_condition=(AutomationCondition.on_cron('0 * * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()),
automation_condition=(
AutomationCondition.on_cron('0 * * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()
),
)
def sharing_stations(context, lamassu: LamassuResource) -> pd.DataFrame:
"""
Expand Down
4 changes: 3 additions & 1 deletion pipeline/assets/traffic_incidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
@asset(
compute_kind='DATEX2',
group_name='traffic',
automation_condition=(AutomationCondition.on_cron('0/5 * * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()),
automation_condition=(
AutomationCondition.on_cron('0/5 * * * *') & ~AutomationCondition.in_progress() | AutomationCondition.eager()
),
key_prefix=ROADWORKS_ASSET_KEY_PREFIX,
)
def roadworks_svzbw_datex2() -> None:
Expand Down

0 comments on commit 0ed0d95

Please sign in to comment.