Skip to content

bump.py: isort import-ordering drift (Cat 4) #3609

Description

@brendancol

Summary

isort --check-only reports one ordering finding on xrspatial/bump.py. The from xrspatial.utils import (...) block uses a one-name-per-line vertical layout, but the configured isort (line_length=100, set in setup.cfg) wants it wrapped as a two-line grid.

Details

  • flake8 baseline is 0 (clean) against the setup.cfg [flake8] config (max-line-length=100).
  • Cat 4 (isort) is the only finding. Cat 1/2/3/5 are clean: no E/W codes, no unused imports or dead locals, no bare except, no mutable default args, no == None/== True, no shadowed builtins.

Fix

Run isort xrspatial/bump.py. The block collapses to a two-line grid wrap (91 and 50 columns, both flake8-clean). Lint-only, no behavior change.

Found by the /sweep-style deep sweep (2026-07-02).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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