File tree Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Expand file tree Collapse file tree 4 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 44These ones pass, just as you'd hope!
55
66"""
7- import pytest # isort:skip
7+ import pytest
88
99pytest .importorskip ("hypothesis" )
10+ # isort: split
1011
1112import hypothesis .extra .numpy as npst
1213import hypothesis .strategies as st
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ exclude=
161161[isort]
162162profile = black
163163skip_gitignore = true
164- force_to_top = true
164+ float_to_top = true
165165default_section = THIRDPARTY
166166known_first_party = xarray
167167
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-
101import collections
112import itertools
123import operator
3122from .dataarray import DataArray
3223from .dataset import Dataset
3324
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+
3435T_DSorDA = TypeVar ("T_DSorDA" , DataArray , Dataset )
3536
3637
Original file line number Diff line number Diff line change 55import pandas as pd
66import pytest
77
8- try :
9- import matplotlib .pyplot as plt
10- except ImportError :
11- pass
12-
138import xarray as xr
149from xarray .core import dtypes , duck_array_ops
1510
2318from .test_plot import PlotTestCase
2419from .test_variable import _PAD_XR_NP_ARGS
2520
21+ try :
22+ import matplotlib .pyplot as plt
23+ except ImportError :
24+ pass
25+
26+
2627pint = pytest .importorskip ("pint" )
2728DimensionalityError = pint .errors .DimensionalityError
2829
You can’t perform that action at this time.
0 commit comments