Skip to content

Commit b37bdd4

Browse files
committed
isort and black
1 parent 3101db2 commit b37bdd4

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

pintxarray/tests/test_accessors.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1+
import numpy as np
12
import pytest
2-
33
import xarray as xr
4-
from xarray.testing import assert_equal
5-
6-
import numpy as np
74
from numpy.testing import assert_array_equal
8-
95
from pint import UnitRegistry
6+
from pint.errors import UndefinedUnitError
7+
from xarray.testing import assert_equal
108

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
1710

1811
# make sure scalars are converted to 0d arrays so quantities can
1912
# always be treated like ndarrays

setup.cfg

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,13 @@ ignore =
2323
# line break before binary operator
2424
W503
2525
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

0 commit comments

Comments
 (0)