File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change
1
+ import numpy as np
1
2
import pytest
2
-
3
3
import xarray as xr
4
- from xarray .testing import assert_equal
5
-
6
- import numpy as np
7
4
from numpy .testing import assert_array_equal
8
-
9
5
from pint import UnitRegistry
6
+ from pint .errors import UndefinedUnitError
7
+ from xarray .testing import assert_equal
10
8
11
- # from pint.unit import Unit
12
- from pint .errors import UndefinedUnitError # , DimensionalityError
13
-
14
- # from pintxarray.accessors import PintDataArrayAccessor, PintDatasetAccessor
15
- from .utils import raises_regex # extract_units
16
-
9
+ from .utils import raises_regex
17
10
18
11
# make sure scalars are converted to 0d arrays so quantities can
19
12
# always be treated like ndarrays
Original file line number Diff line number Diff line change @@ -23,4 +23,13 @@ ignore =
23
23
# line break before binary operator
24
24
W503
25
25
exclude =
26
- .eggs
26
+ .eggs
27
+
28
+ [isort]
29
+ default_section = THIRDPARTY
30
+ known_first_party = pintxarray
31
+ multi_line_output = 3
32
+ include_trailing_comma = True
33
+ force_grid_wrap = 0
34
+ use_parentheses = True
35
+ line_length = 88
You can’t perform that action at this time.
0 commit comments