Summary
isort --check-only flags the import block in xrspatial/templates.py as incorrectly sorted. The project sets line_length = 100 for isort in setup.cfg but does not run it in CI, so the drift was not caught.
Details
The _template_data import wraps _UPS_NORTH_EPSG and _UPS_SOUTH_EPSG onto separate lines even though both fit on one line within the 100-column limit. flake8 is clean; only isort reports the block:
flake8 xrspatial/templates.py # no output
isort --check-only --diff xrspatial/templates.py # reports the import block
Proposed fix
Apply isort's suggested ordering. Imports only, no change to runtime behavior.
Summary
isort --check-onlyflags the import block inxrspatial/templates.pyas incorrectly sorted. The project setsline_length = 100for isort insetup.cfgbut does not run it in CI, so the drift was not caught.Details
The
_template_dataimport wraps_UPS_NORTH_EPSGand_UPS_SOUTH_EPSGonto separate lines even though both fit on one line within the 100-column limit. flake8 is clean; only isort reports the block:Proposed fix
Apply isort's suggested ordering. Imports only, no change to runtime behavior.