Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 16, 2024
1 parent 7874379 commit 6f760e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion disdrodb/api/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Check warning on line 311 in disdrodb/api/checks.py

View check run for this annotation

Codecov / codecov/patch

disdrodb/api/checks.py#L311

Added line #L311 was not covered by tests
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
Expand Down
4 changes: 1 addition & 3 deletions disdrodb/utils/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# -----------------------------------------------------------------------------.
"""Utilities for Dask Distributed computations."""
import os
import logging
import os


def initialize_dask_cluster():
Expand Down Expand Up @@ -60,5 +60,3 @@ def close_dask_cluster(cluster, client):
finally:
# Restore the original log level
logger.setLevel(original_level)
return None

0 comments on commit 6f760e4

Please sign in to comment.