From 6f760e434ade6f946070b5520bd28d808992fda6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 11:23:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- disdrodb/api/checks.py | 5 ++++- disdrodb/utils/dask.py | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/disdrodb/api/checks.py b/disdrodb/api/checks.py index 640d6ee9..60268b0a 100644 --- a/disdrodb/api/checks.py +++ b/disdrodb/api/checks.py @@ -309,7 +309,10 @@ def check_issue_file(data_source, campaign_name, station_name, base_dir=None): # Check existence if not os.path.exists(issue_filepath): create_station_issue( - base_dir=base_dir, data_source=data_source, campaign_name=campaign_name, station_name=station_name + base_dir=base_dir, + data_source=data_source, + campaign_name=campaign_name, + station_name=station_name, ) # Check validity diff --git a/disdrodb/utils/dask.py b/disdrodb/utils/dask.py index b5d52bc5..ee3c5aae 100644 --- a/disdrodb/utils/dask.py +++ b/disdrodb/utils/dask.py @@ -17,8 +17,8 @@ # along with this program. If not, see . # -----------------------------------------------------------------------------. """Utilities for Dask Distributed computations.""" -import os import logging +import os def initialize_dask_cluster(): @@ -60,5 +60,3 @@ def close_dask_cluster(cluster, client): finally: # Restore the original log level logger.setLevel(original_level) - return None -