Skip to content

Commit 8cd1914

Browse files
committed
Fixes linting error
1 parent 880bf60 commit 8cd1914

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

clouddrift/transfer.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ def wind_transfer(
6464
boundary_condition: str = "no-slip",
6565
method: str = "lilly",
6666
density: float = 1025.0,
67-
) -> tuple[float | _Floating | np.ndarray, float | _Floating | np.ndarray, float | _Floating | np.ndarray]:
67+
) -> tuple[
68+
float | _Floating | np.ndarray,
69+
float | _Floating | np.ndarray,
70+
float | _Floating | np.ndarray,
71+
]:
6872
"""
6973
Compute the transfer function from wind stress to oceanic velocity based on the physically-based
7074
models of Elipot and Gille (2009) and Lilly and Elipot (2021).
@@ -677,7 +681,7 @@ def _wind_transfer_elipot_free_slip(
677681

678682
def _bessels_freeslip(
679683
xiz: float | np.ndarray,
680-
xih: float | np.ndarray,
684+
xih: float | np.ndarray,
681685
xi0: float | np.ndarray | None = None,
682686
) -> tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
683687
"""
@@ -686,7 +690,7 @@ def _bessels_freeslip(
686690
# Convert inputs to numpy arrays
687691
xiz = np.asarray(xiz)
688692
xih = np.asarray(xih)
689-
693+
690694
# Ensure all outputs are numpy arrays
691695
k0z = np.asarray(kv(0, xiz))
692696
i0z = np.asarray(iv(0, xiz))
@@ -701,7 +705,7 @@ def _bessels_freeslip(
701705
# Create nan values as numpy arrays with same shape as k0z
702706
k10 = np.full_like(k0z, np.nan)
703707
i10 = np.full_like(k0z, np.nan)
704-
708+
705709
return k0z, i0z, k1h, i1h, k10, i10
706710

707711

@@ -716,7 +720,7 @@ def _bessels_noslip(
716720
# Convert inputs to numpy arrays
717721
xiz = np.asarray(xiz)
718722
xih = np.asarray(xih)
719-
723+
720724
# Ensure all outputs are numpy arrays
721725
k0z = np.asarray(kv(0, xiz))
722726
i0z = np.asarray(iv(0, xiz))
@@ -731,7 +735,7 @@ def _bessels_noslip(
731735
# Create nan values as numpy arrays with same shape as k0z
732736
k10 = np.full_like(k0z, np.nan)
733737
i10 = np.full_like(k0z, np.nan)
734-
738+
735739
return k0z, i0z, k0h, i0h, k10, i10
736740

737741

0 commit comments

Comments
 (0)