Skip to content

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

@brendancol

Description

@brendancol

flake8 reports one F401 in xrspatial/classify.py: not_implemented_func is imported from xrspatial.utils but never used. The module has no __all__ and nothing imports not_implemented_func from xrspatial.classify, so it's a refactor leftover, not a re-export.

isort also flags the import block: cmath sits in its own group instead of with the other stdlib imports, and xrspatial.dataset_support is ordered after xrspatial.utils.

setup.cfg configures flake8 (max-line-length=100) and isort (line_length=100), but neither is gated in CI, so this went unnoticed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions