Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 21, 2025
1 parent 48fa7ec commit f9136be
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f9136be

Please sign in to comment.