File tree 4 files changed +19
-16
lines changed
4 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 4
4
These ones pass, just as you'd hope!
5
5
6
6
"""
7
- import pytest # isort:skip
7
+ import pytest
8
8
9
9
pytest .importorskip ("hypothesis" )
10
+ # isort: split
10
11
11
12
import hypothesis .extra .numpy as npst
12
13
import hypothesis .strategies as st
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ exclude=
161
161
[isort]
162
162
profile = black
163
163
skip_gitignore = true
164
- force_to_top = true
164
+ float_to_top = true
165
165
default_section = THIRDPARTY
166
166
known_first_party = xarray
167
167
Original file line number Diff line number Diff line change 1
- try :
2
- import dask
3
- import dask .array
4
- from dask .array .utils import meta_from_array
5
- from dask .highlevelgraph import HighLevelGraph
6
-
7
- except ImportError :
8
- pass
9
-
10
1
import collections
11
2
import itertools
12
3
import operator
31
22
from .dataarray import DataArray
32
23
from .dataset import Dataset
33
24
25
+ try :
26
+ import dask
27
+ import dask .array
28
+ from dask .array .utils import meta_from_array
29
+ from dask .highlevelgraph import HighLevelGraph
30
+
31
+ except ImportError :
32
+ pass
33
+
34
+
34
35
T_DSorDA = TypeVar ("T_DSorDA" , DataArray , Dataset )
35
36
36
37
Original file line number Diff line number Diff line change 5
5
import pandas as pd
6
6
import pytest
7
7
8
- try :
9
- import matplotlib .pyplot as plt
10
- except ImportError :
11
- pass
12
-
13
8
import xarray as xr
14
9
from xarray .core import dtypes , duck_array_ops
15
10
23
18
from .test_plot import PlotTestCase
24
19
from .test_variable import _PAD_XR_NP_ARGS
25
20
21
+ try :
22
+ import matplotlib .pyplot as plt
23
+ except ImportError :
24
+ pass
25
+
26
+
26
27
pint = pytest .importorskip ("pint" )
27
28
DimensionalityError = pint .errors .DimensionalityError
28
29
You can’t perform that action at this time.
0 commit comments