Skip to content

Commit bd08c2e

Browse files
committed
pre-commit fixes
1 parent c9a8f85 commit bd08c2e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_pytorch.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_sum(torch_arr: Any, axis: Literal[0, 1] | None) -> None: # noqa: ANN40
3434

3535

3636
@pytest.mark.parametrize("axis", [None, 0, 1])
37-
def test_min(torch_arr: Any, axis: Literal[0, 1] | None) -> None:
37+
def test_min(torch_arr: Any, axis: Literal[0, 1] | None) -> None: # noqa: ANN401
3838
import torch
3939

4040
result = stats.min(torch_arr, axis=axis)
@@ -43,7 +43,7 @@ def test_min(torch_arr: Any, axis: Literal[0, 1] | None) -> None:
4343

4444

4545
@pytest.mark.parametrize("axis", [None, 0, 1])
46-
def test_max(torch_arr: Any, axis: Literal[0, 1] | None) -> None:
46+
def test_max(torch_arr: Any, axis: Literal[0, 1] | None) -> None: # noqa: ANN401
4747
import torch
4848

4949
result = stats.max(torch_arr, axis=axis)
@@ -52,7 +52,7 @@ def test_max(torch_arr: Any, axis: Literal[0, 1] | None) -> None:
5252

5353

5454
@pytest.mark.parametrize("axis", [None, 0, 1])
55-
def test_mean(torch_arr: Any, axis: Literal[0, 1] | None) -> None:
55+
def test_mean(torch_arr: Any, axis: Literal[0, 1] | None) -> None: # noqa: ANN401
5656
import torch
5757

5858
result = stats.mean(torch_arr, axis=axis)
@@ -88,7 +88,7 @@ def test_is_constant(axis: Literal[0, 1] | None) -> None:
8888

8989

9090
@pytest.mark.parametrize("axis", [None, 0, 1])
91-
def test_mean_var(torch_arr: Any, axis: Literal[0, 1] | None) -> None:
91+
def test_mean_var(torch_arr: Any, axis: Literal[0, 1] | None) -> None: # noqa: ANN401
9292
import torch
9393

9494
mean, var = stats.mean_var(torch_arr, axis=axis, correction=1)

0 commit comments

Comments
 (0)