Skip to content

Commit a7e216b

Browse files
authored
Small fixes (#38)
1 parent d459cca commit a7e216b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ overrides.matrix.extras.features = [
6767
]
6868

6969
[[tool.hatch.envs.hatch-test.matrix]]
70-
python = [ "3.11", "3.12", "3.13" ]
71-
extras = [ "min", "full" ]
70+
python = [ "3.13", "3.12", "3.11" ]
71+
extras = [ "full", "min" ]
7272

7373
[tool.ruff]
7474
line-length = 100

src/fast_array_utils/stats/_sum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def sum(
3232

3333

3434
def sum(
35-
x: ArrayLike | types.ZarrArray,
35+
x: ArrayLike | types.ZarrArray | types.DaskArray,
3636
/,
3737
*,
3838
axis: Literal[0, 1, None] = None,

tests/test_stats.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ def test_sum(
6262
arr = array_type(np_arr.copy())
6363
assert arr.dtype == dtype_in
6464

65-
sum_: NDArray[Any] | np.number[Any] | types.DaskArray = stats.sum(
66-
arr, axis=axis, dtype=dtype_arg
67-
)
65+
sum_ = stats.sum(arr, axis=axis, dtype=dtype_arg)
6866

6967
match axis, arr:
7068
case _, types.DaskArray():

0 commit comments

Comments
 (0)