Skip to content

classify: remove unused import and fix isort ordering#3405

Merged
brendancol merged 2 commits into
mainfrom
deep-sweep-style-classify-2026-06-20
Jun 20, 2026
Merged

classify: remove unused import and fix isort ordering#3405
brendancol merged 2 commits into
mainfrom
deep-sweep-style-classify-2026-06-20

Conversation

@brendancol

Copy link
Copy Markdown
Contributor

Fixes the F401 and isort findings in xrspatial/classify.py.

  • Removes the unused not_implemented_func import. It had no runtime effect: no __all__, and nothing imports it from classify, so it wasn't a re-export.
  • Reorders the import block so isort passes under the existing setup.cfg config (moves cmath into the stdlib group, orders dataset_support before utils).

No behavioural change. flake8 and isort both pass after the change, and xrspatial/tests/test_classify.py passes (89 passed).

Closes #3402.

Remove the unused not_implemented_func import (flake8 F401) and reorder
the import block so isort passes under the setup.cfg config (cmath into
the stdlib group, dataset_support before utils). No behavioural change.
@brendancol brendancol merged commit 7e8962d into main Jun 20, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

classify.py: unused import (F401) and isort ordering drift

1 participant