From 7d00083dab4ead0754009c6f536717ca7c7806c9 Mon Sep 17 00:00:00 2001 From: Brendan Collins Date: Sun, 28 Jun 2026 19:04:49 -0700 Subject: [PATCH] Fix isort import-ordering in curvature.py (#3388) Group the local imports into a single parenthesized import from xrspatial.utils and order xrspatial.dataset_support before it, keeping the # local modules comment above the first local import. No behavioural change. Closes #3388 --- xrspatial/curvature.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/xrspatial/curvature.py b/xrspatial/curvature.py index c13c0034d..6bd24e89d 100644 --- a/xrspatial/curvature.py +++ b/xrspatial/curvature.py @@ -21,16 +21,10 @@ class cupy(object): from numba import cuda # local modules -from xrspatial.utils import ArrayTypeFunctionMapping -from xrspatial.utils import _boundary_to_dask -from xrspatial.utils import _pad_array -from xrspatial.utils import _validate_boundary -from xrspatial.utils import _validate_raster -from xrspatial.utils import cuda_args -from xrspatial.utils import get_dataarray_resolution -from xrspatial.utils import ngjit from xrspatial.dataset_support import supports_dataset -from xrspatial.utils import _dask_task_name_kwargs +from xrspatial.utils import (ArrayTypeFunctionMapping, _boundary_to_dask, _dask_task_name_kwargs, + _pad_array, _validate_boundary, _validate_raster, cuda_args, + get_dataarray_resolution, ngjit) @ngjit