Skip to content

Commit 5370471

Browse files
committed
Fix formatting
1 parent 931123c commit 5370471

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

odc/geo/crs.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,12 @@ def _make_crs_transform_key(from_crs, to_crs, always_xy, force_over=False):
8181

8282

8383
@cachetools.cached({}, key=_make_crs_transform_key)
84-
def _make_crs_transform(from_crs: _CRS, to_crs: _CRS, always_xy: bool, force_over: bool = False) -> Transformer:
85-
return Transformer.from_crs(from_crs, to_crs, always_xy=always_xy, force_over=force_over)
84+
def _make_crs_transform(
85+
from_crs: _CRS, to_crs: _CRS, always_xy: bool, force_over: bool = False
86+
) -> Transformer:
87+
return Transformer.from_crs(
88+
from_crs, to_crs, always_xy=always_xy, force_over=force_over
89+
)
8690

8791

8892
class CRS:
@@ -318,7 +322,9 @@ def transformer_to_crs(
318322
"""
319323

320324
# pylint: disable=protected-access
321-
tr = _make_crs_transform(self._crs, other._crs, always_xy=always_xy, force_over=force_over)
325+
tr = _make_crs_transform(
326+
self._crs, other._crs, always_xy=always_xy, force_over=force_over
327+
)
322328

323329
def result(x, y, **kw):
324330
rx, ry = tr.transform(x, y, **kw) # pylint: disable=unpacking-non-sequence

0 commit comments

Comments
 (0)