Skip to content

Commit 6159138

Browse files
Apply ruff/isort rule
I001 Import block is un-sorted or un-formatted
1 parent ad2f420 commit 6159138

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

nipy/algorithms/statistics/tests/test_intrinsic_volumes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
22
# vi: set ft=python sts=4 ts=4 sw=4 et:
33

4+
import functools
5+
import operator
46
from itertools import combinations
57

68
import numpy as np
@@ -11,8 +13,6 @@
1113
from nipy.utils import SCTYPES
1214

1315
from .. import intvol
14-
import functools
15-
import operator
1616

1717

1818
def symnormal(p=10):

nipy/algorithms/statistics/tests/test_quantile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
""" Test quartile functions
22
"""
33

4+
import functools
5+
import operator
6+
47
import numpy as np
58
from numpy import median as np_median
69
from numpy.testing import assert_array_almost_equal, assert_array_equal
@@ -9,8 +12,6 @@
912
from nipy.utils import SCTYPES
1013

1114
from .._quantile import _median, _quantile
12-
import functools
13-
import operator
1415

1516
NUMERIC_TYPES = list(
1617
itertools.chain.from_iterable(

nipy/utils/tests/test_arrays.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
""" Testing arrays module
22
"""
33

4+
import functools
5+
import operator
6+
47
import numpy as np
58
import pytest
69
from numpy.testing import assert_array_almost_equal, assert_array_equal
710

811
from nipy.utils import SCTYPES
912

1013
from ..arrays import strides_from
11-
import functools
12-
import operator
1314

1415

1516
def test_strides_from():

0 commit comments

Comments
 (0)