-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix issues flagged by SonarQube #8391
fix issues flagged by SonarQube #8391
Conversation
SonarScan also found some issues here: #8390 |
regtests at 90% with no failures |
Thanks for opening the PR. As all the changes are in the new niriss AMI code and haven't so far triggered errors (which they should given the types of errors) I expect they are uncovered. Line 227 in ec0f0ed
@rcooper295 is Line 292 in ec0f0ed
If not I'd say we remove the Also the regtests will need to be run against CRDS-TEST to test the AMI code until ops is updated. It looks like the current run is using ops so the AMI tests are expected to fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran the AMI regtests and unit tests with this branch locally (with a cache of CRDS-TEST files). The ami regtests pass with these changes.
Perhaps a follow-up issue should be opened to track the wider code cleanup with input from @rcooper295?
closes #8390
This PR addresses issues flagged by SonarQube (https://plsonarqube.stsci.edu/project/issues?resolved=false&inNewCodePeriod=true&types=BUG&id=jwst&open=AY54FDbH6KYUncGRZ448)
Checklist for maintainers
added entry inCHANGES.rst
within the relevant release sectionupdated relevant documentationHow to run regression tests on a PR
Make sure the JIRA ticket is resolved properly