Skip to content

Commit 1fd2bef

Browse files
committed
isort
1 parent e91ab52 commit 1fd2bef

File tree

9 files changed

+14
-13
lines changed

9 files changed

+14
-13
lines changed

pandas/core/arrays/integer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
is_bool_dtype, is_float, is_float_dtype, is_integer, is_integer_dtype,
1515
is_list_like, is_object_dtype, is_scalar)
1616
from pandas.core.dtypes.dtypes import register_extension_dtype
17-
from pandas.core.dtypes.generic import ABCIndexClass, ABCSeries, ABCMaskArray
17+
from pandas.core.dtypes.generic import ABCIndexClass, ABCMaskArray, ABCSeries
1818
from pandas.core.dtypes.missing import isna, notna
1919

2020
from pandas.core import nanops

pandas/core/arrays/mask/_base.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"""
77

88
import copy
9+
910
import numpy as np
11+
1012
from pandas import compat
11-
from pandas.core.missing import isna
12-
from pandas.core.arrays.base import ExtensionArray
1313
from pandas.api.extensions import ExtensionDtype
14+
from pandas.core.arrays.base import ExtensionArray
15+
from pandas.core.missing import isna
1416

1517

1618
class BoolDtype(ExtensionDtype):

pandas/core/arrays/mask/_numpy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import numpy as np
66

7-
from pandas.core.arrays.mask._base import BoolDtype, BoolArray
87
from pandas.api.extensions import register_extension_dtype, take
8+
from pandas.core.arrays.mask._base import BoolArray, BoolDtype
99

1010

1111
@register_extension_dtype

pandas/core/arrays/mask/_pyarrow.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010

1111
import numpy as np
1212

13+
from pandas.api.extensions import register_extension_dtype, take
1314
from pandas.api.types import is_scalar
14-
from pandas.api.extensions import (
15-
register_extension_dtype, take)
16-
from pandas.core.arrays.mask._base import BoolDtype, BoolArray
17-
15+
from pandas.core.arrays.mask._base import BoolArray, BoolDtype
1816

1917
# we require pyarrow >= 0.10.0
2018

pandas/core/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from pandas.core.dtypes.common import (
2121
is_array_like, is_bool_dtype, is_extension_array_dtype, is_integer)
2222
from pandas.core.dtypes.generic import (
23-
ABCIndex, ABCIndexClass, ABCSeries, ABCMaskArray)
23+
ABCIndex, ABCIndexClass, ABCMaskArray, ABCSeries)
2424
from pandas.core.dtypes.inference import _iterable_not_string
2525
from pandas.core.dtypes.missing import isna, isnull, notnull # noqa
2626

pandas/core/indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ensure_platform_int, is_float, is_integer, is_integer_dtype, is_iterator,
1616
is_list_like, is_scalar, is_sequence, is_sparse)
1717
from pandas.core.dtypes.generic import (
18-
ABCDataFrame, ABCPanel, ABCSeries, ABCMaskArray)
18+
ABCDataFrame, ABCMaskArray, ABCPanel, ABCSeries)
1919
from pandas.core.dtypes.missing import _infer_fill_value, isna
2020

2121
import pandas.core.common as com

pandas/tests/arrays/mask/test_mask.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
22
import numpy as np
33
import pytest
4+
45
from pandas.util import testing as tm
56

67

pandas/tests/arrays/mask/test_pyarrow_bool.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import pytest
33

44
import pandas as pd
5+
from pandas.core.arrays.mask._pyarrow import ( # isort:skip
6+
ArrowBoolArray, ArrowBoolDtype)
57
from pandas.tests.extension import base
68
import pandas.util.testing as tm
79

810
pytest.importorskip('pyarrow', minversion="0.10.0")
911

10-
from pandas.core.arrays.mask._pyarrow import (
11-
ArrowBoolArray, ArrowBoolDtype) # isort:skip
1212

1313

1414
@pytest.fixture

pandas/tests/dtypes/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from pandas.conftest import (
1515
ALL_EA_INT_DTYPES, ALL_INT_DTYPES, SIGNED_EA_INT_DTYPES, SIGNED_INT_DTYPES,
1616
UNSIGNED_EA_INT_DTYPES, UNSIGNED_INT_DTYPES)
17-
from pandas.core.sparse.api import SparseDtype
1817
from pandas.core.arrays.mask import get_mask_array_type
18+
from pandas.core.sparse.api import SparseDtype
1919
import pandas.util.testing as tm
2020

2121

0 commit comments

Comments
 (0)