classify: remove unused import and fix isort ordering#3405
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the F401 and isort findings in
xrspatial/classify.py.not_implemented_funcimport. It had no runtime effect: no__all__, and nothing imports it fromclassify, so it wasn't a re-export.cmathinto the stdlib group, ordersdataset_supportbeforeutils).No behavioural change. flake8 and isort both pass after the change, and
xrspatial/tests/test_classify.pypasses (89 passed).Closes #3402.