Skip to content

Commit 10b9ec8

Browse files
committed
Formatting
1 parent e8a7d30 commit 10b9ec8

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/array_api_extra/_lib/_funcs.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ def quantile(
10001000
keepdims: bool = False,
10011001
method: str = "linear",
10021002
xp: ModuleType | None = None,
1003-
) -> Array:
1003+
) -> Array: # numpydoc ignore=PR01,RT01
10041004
"""See docstring in `array_api_extra._delegation.py`."""
10051005
if xp is None:
10061006
xp = array_namespace(x, q)
@@ -1117,7 +1117,9 @@ def quantile(
11171117
return res
11181118

11191119

1120-
def _quantile_hf(y: Array, p: Array, n: Array, method: str, xp: ModuleType) -> Array:
1120+
def _quantile_hf(
1121+
y: Array, p: Array, n: Array, method: str, xp: ModuleType
1122+
) -> Array: # numpydoc ignore=PR01,RT01
11211123
"""Helper function for Hyndman-Fan quantile methods."""
11221124
ms = {
11231125
"inverted_cdf": 0,
@@ -1162,7 +1164,9 @@ def _quantile_hf(y: Array, p: Array, n: Array, method: str, xp: ModuleType) -> A
11621164
)
11631165

11641166

1165-
def _quantile_hd(y: Array, p: Array, n: Array, xp: ModuleType) -> Array:
1167+
def _quantile_hd(
1168+
y: Array, p: Array, n: Array, xp: ModuleType
1169+
) -> Array: # numpydoc ignore=PR01,RT01
11661170
"""Helper function for Harrell-Davis quantile method."""
11671171
# For now, implement a simplified version that falls back to linear method
11681172
# since betainc is not available in the array API standard

0 commit comments

Comments
 (0)