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 Feb 3, 2025
1 parent 4f1d8dc commit 5ef81af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cordex/cmor/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""CORDEX Cmorization utilities.
"""
"""CORDEX Cmorization utilities."""

import datetime as dt
import json
Expand Down
5 changes: 2 additions & 3 deletions cordex/esgf_access.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""this module should help on managing ESGF metadata
"""
"""this module should help on managing ESGF metadata"""

import pandas as pd

Expand Down Expand Up @@ -132,7 +131,7 @@ def get_opendap_urls(attrs, conn=None, agg=False, verbose=False):

def _split_dataset_id(dataset_id):
"""splits a dataset id into list of values."""
return dataset_id.split("|")[0].split(".") + [(dataset_id.split("|")[1])]
return dataset_id.split("|")[0].split(".") + [dataset_id.split("|")[1]]


def _get_columns(columns=None):
Expand Down

0 comments on commit 5ef81af

Please sign in to comment.