Repository navigation
Fix all remaining ruff check error - #242
Merged
jtniehof merged 4 commits intoOct 26, 2026
Merged
Conversation
Collaborator
Author
|
Test failure was name resolution error with Space Weather Canada, and restarting the test fixed it. |
Collaborator
Author
|
I will loop in with Menlo and the GLOWS and Lo teams regarding code that the instrument teams are contributing but not maintaining in our tree, so we're all on the same page. |
jtniehof
merged commit Oct 26, 2026
887bfc8
into
IMAP-Science-Operations-Center:main
32 of 33 checks passed
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.
Change Summary
Overview
Fix all errors reported so
ruff checkruns clean.This is all hand-done so should actually be reviewed!
File changes
Only noting changes that seem to be a judgement call in some way, rather than "obvious'
_so they are obviously temps. Otherwise I usually removed them.tests/test_data/lo/lo_txt_pipeline: for several files here, I left the unused variables (either side effects or seemed worthwhile documentation) andnoqa'd them.lquite a bit in the code (and in code we've incorporated) so this feels okay to quiet. But I'm not tied to it.imap_l3_processing/maps/mpfit.pyis a weird case. It's brought in from external source, but since we did basically reformat it as part of this process, I figure we "own" it.None).catch_msgis assigned to but never used. My understanding is that it's supposed to be diagnostic likeerrmsg, so I made it a class member rather than a local.errmsgwas treated as a local in one place, so I changed that to refer to the class member.imap_l3_processing/predicted_emphemeris_tracker.pyused type parameter syntax introduced in Python 3.12. We have 3.10 as the minimum. I wrote it back in the old format (as far as I could discern, not having used it much!) Worth a double-checkTesting
Relying on existing unit tests