From f9136bed8a49cd1562e015e0c5f13d9bd72f11e7 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Tue, 21 Jan 2025 18:59:25 +0000 Subject: [PATCH] lint --- .../internal/repositories/raw_repositories/mo_datahub.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/nwp_consumer/internal/repositories/raw_repositories/mo_datahub.py b/src/nwp_consumer/internal/repositories/raw_repositories/mo_datahub.py index c8662e0..29c5930 100644 --- a/src/nwp_consumer/internal/repositories/raw_repositories/mo_datahub.py +++ b/src/nwp_consumer/internal/repositories/raw_repositories/mo_datahub.py @@ -75,10 +75,7 @@ def __init__(self, order_id: str, api_key: str) -> None: def repository() -> entities.RawRepositoryMetadata: requested_model: str = os.getenv("MODEL", default="default") - if requested_model == 'ukv-uk-2km': - running_hours = list(range(0,24)) - else: - running_hours = [0, 12] + running_hours = list(range(0, 24)) if requested_model == "ukv-uk-2km" else [0, 12] return entities.RawRepositoryMetadata( name="MetOffice-Weather-Datahub",