Skip to content

style(proximity): fix isort import ordering#3393

Merged
brendancol merged 1 commit into
mainfrom
deep-sweep-style-proximity-2026-06-18-agent-a0aec716
Jun 19, 2026
Merged

style(proximity): fix isort import ordering#3393
brendancol merged 1 commit into
mainfrom
deep-sweep-style-proximity-2026-06-18-agent-a0aec716

Conversation

@brendancol

Copy link
Copy Markdown
Contributor

isort flags the multi-line from xrspatial.utils import (...) in proximity.py: has_cuda_and_cupy was wrapped onto the second continuation line even though it fits on the first under the project's line_length=100. This moves it up.

No functional change; imports resolve identically. flake8 was already clean, this only fixes the isort ordering.

Found by the style sweep on proximity.

Re-wrap the `from xrspatial.utils import (...)` block to match the
project's configured isort (line_length=100 in setup.cfg). The block
wrapped one name too early; pull has_cuda_and_cupy onto the first
continuation line so both lines stay under 100 columns.

isort-only change, no behavioural effect. flake8 was already clean and
stays clean. Also records the 2026-06-18 style re-audit result in
.claude/sweep-style-state.csv.
@github-actions github-actions Bot added the performance PR touches performance-sensitive code label Jun 19, 2026
@brendancol brendancol merged commit 69a6992 into main Jun 19, 2026
12 checks passed
@brendancol brendancol deleted the deep-sweep-style-proximity-2026-06-18-agent-a0aec716 branch June 25, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance PR touches performance-sensitive code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant