Skip to content

Commit

Permalink
formatting exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Dec 11, 2024
1 parent 82e7cdf commit 19aae79
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_sdba/test_loess.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# ruff: noqa: E241
from __future__ import annotations

import logging

import numpy as np
import pandas as pd
import pytest
Expand All @@ -13,7 +12,7 @@
_linear_regression, # noqa
_loess_nb, # noqa
_tricube_weighting, # noqa
loess_smoothing,
loess_smoothing, # noqa
)


Expand Down Expand Up @@ -87,9 +86,9 @@ def test_loess_smoothing_nan(use_dask):
-1.126, 0.933, 1.987, 0.638, 0.789,
0.767, 0.676, -1.028, 1.422, 0.453,
]
)
)
# fmt: on
data = data.reshape(2, 2, 10)
data = data.reshape(2, 2, 10) # pylint: disable=too-many-function-args
data[0, 0] = [np.nan] * 10
da = xr.DataArray(
data,
Expand Down

0 comments on commit 19aae79

Please sign in to comment.