Skip to content

Fix isort#200

Merged
pp-mo merged 2 commits intoSciTools:mainfrom
pp-mo:fix_isort
Feb 13, 2026
Merged

Fix isort#200
pp-mo merged 2 commits intoSciTools:mainfrom
pp-mo:fix_isort

Conversation

@pp-mo
Copy link
Member

@pp-mo pp-mo commented Feb 13, 2026

Adopt + apply new isort settings.

Since we were getting repeated problems where the isort in CI on PRs disagreed with the local pre-commit fixes.
It seems this was due to confusion over what is a "firstparty" module, depdending (presumably) on the current directory when run. Also similar problems recognising that "tests" is a local module.

Hopefully this resolves all that, and will not receive a pre-commit update on this PR.

@pp-mo
Copy link
Member Author

pp-mo commented Feb 13, 2026

!result! 🕺 🍾 🥳
That problem was ridiculously tricky to pin down.

One day we'll be adopting Ruff, which may or not make this easier.

Meanwhile, we still have failiing tests here, due to need for #197 (xarray breakage)

@pp-mo pp-mo mentioned this pull request Feb 13, 2026
Closed
@pp-mo pp-mo merged commit c5a02c9 into SciTools:main Feb 13, 2026
6 of 9 checks passed
@pp-mo pp-mo deleted the fix_isort branch February 13, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant