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 Nov 6, 2024
1 parent f832ab5 commit 9b1a8bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 3 additions & 4 deletions src/xsdba/adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
from scipy import stats
from xarray.core.dataarray import DataArray

from xsdba.formatting import gen_call_string, update_history
from xsdba.options import OPTIONS, XSDBA_EXTRA_OUTPUT, set_options
from xsdba.units import convert_units_to

from xsdba._adjustment import (
dqm_adjust,
dqm_train,
Expand All @@ -35,7 +31,10 @@
scaling_train,
)
from xsdba.base import Grouper, ParametrizableWithDataset, parse_group, uses_dask
from xsdba.formatting import gen_call_string, update_history
from xsdba.options import OPTIONS, XSDBA_EXTRA_OUTPUT, set_options
from xsdba.processing import grouped_time_indexes
from xsdba.units import convert_units_to
from xsdba.utils import (
ADDITIVE,
best_pc_orientation_full,
Expand Down
3 changes: 1 addition & 2 deletions src/xsdba/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
import xarray as xr
from xarray.core.utils import get_temp_dimname

from xsdba.formatting import update_xsdba_history

from xsdba._processing import _adapt_freq, _normalize, _reordering
from xsdba.base import Grouper, parse_offset, uses_dask
from xsdba.formatting import update_xsdba_history
from xsdba.nbutils import _escore
from xsdba.units import convert_units_to, harmonize_units
from xsdba.utils import ADDITIVE, copy_all_attrs
Expand Down
5 changes: 2 additions & 3 deletions src/xsdba/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@
from xclim.indices.generic import compare, select_resample_op
from xclim.indices.stats import fit, parametric_quantile

from xsdba.base import Grouper, map_groups, parse_group, parse_offset, uses_dask
from xsdba.nbutils import _pairwise_haversine_and_bins
from xsdba.units import (
convert_units_to,
infer_sampling_units,
pint2cfattrs,
units,
units2pint,
)

from xsdba.base import Grouper, map_groups, parse_group, parse_offset, uses_dask
from xsdba.nbutils import _pairwise_haversine_and_bins
from xsdba.utils import _pairwise_spearman, copy_all_attrs


Expand Down

0 comments on commit 9b1a8bc

Please sign in to comment.