Skip to content

style(convolution): drop unused import, fix isort ordering#3613

Open
brendancol wants to merge 2 commits into
mainfrom
deep-sweep-style-convolution-2026-07-02
Open

style(convolution): drop unused import, fix isort ordering#3613
brendancol wants to merge 2 commits into
mainfrom
deep-sweep-style-convolution-2026-07-02

Conversation

@brendancol

Copy link
Copy Markdown
Contributor

Style sweep cleanup for xrspatial/convolution.py.

Two findings, both flagged by the project's own tooling:

  • F401 (flake8): not_implemented_func was imported from xrspatial.utils but never used. It's a refactor leftover and isn't re-exported, so removing it is safe.
  • isort: the xrspatial.utils import was split across two separate from ... import statements. Merged into one alphabetised block.

No behavioural change. flake8 and isort are clean on the module after the fix, and the 6 convolution tests pass.

…t ordering

Cat 3 (F401): remove unused not_implemented_func imported from
xrspatial.utils (refactor leftover, not re-exported).
Cat 4 (isort): merge the two split 'from xrspatial.utils import' lines
into a single alphabetised block.

No behavioural change; flake8 + isort clean, 6 convolution tests pass.

Includes sweep-style-state.csv update for convolution.
@github-actions github-actions Bot added the performance PR touches performance-sensitive code label Jul 2, 2026
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