8000 Follow up of JP-3917: Apply code style rules to lib by pllim · Pull Request #9423 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Follow up of JP-3917: Apply code style rules to lib #9423

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

Merged
merged 4 commits into from
May 2, 2025

Conversation

pllim
Copy link
Collaborator
@pllim pllim commented Apr 29, 2025

This PR is a follow-up of #9283 . I skipped some rules back then and said I would follow up later with smaller diff that is easier to review. Does this need a JIRA ticket? Not sure.

Tasks

Copy link
codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.57%. Comparing base (cabaee0) to head (e59cad0).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9423      +/-   ##
==========================================
+ Coverage   75.99%   76.57%   +0.58%     
==========================================
  Files         368      364       -4     
  Lines       37020    36626     -394     
==========================================
- Hits        28133    28047      -86     
+ Misses       8887     8579     -308     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

try:
step = Step.from_config_file(path.join(config_path, config_file))
step = Step.from_config_file(str(config_path / config_file))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p.s. Usually the os.path to pathlib.Path updates are just busy-work but it does seem to simplify the code a little in this case.

@pllim pllim mentioned this pull request Apr 29, 2025
10 tasks
@pllim
Copy link
Collaborator Author
pllim commented Apr 30, 2025

RT https://github.com/spacetelescope/RegressionTests/actions/runs/14742902470/job/41384736743 is red but I don't see how it can be related, and I also cannot compare to main run because main is stuck at SonarCube again.

@melanieclarke
Copy link
Collaborator

RT https://github.com/spacetelescope/RegressionTests/actions/runs/14742902470/job/41384736743 is red but I don't see how it can be related, and I also cannot compare to main run because main is stuck at SonarCube again.

I cleared the sonar issues and am rerunning the scheduled run now.

@pllim
Copy link
Collaborator Author
pllim commented Apr 30, 2025

@pllim pllim marked this pull request as ready for review April 30, 2025 19:45
@pllim pllim requested review from a team as code owners April 30, 2025 19:45
@pllim
Copy link
Collaborator Author
pllim commented Apr 30, 2025

RT and CI passed. This is ready for review. Thanks!

@pllim pllim requested review from melanieclarke and emolter April 30, 2025 19:45
Copy link
Collaborator
@emolter emolter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; it's comforting that the codecov report shows 100% coverage, so I think we are safe to go ahead

@pllim pllim force-pushed the lib-sty-part2 branch from da0c8a7 to e59cad0 Compare May 1, 2025 20:28
@pllim pllim enabled auto-merge May 1, 2025 20:29
@pllim pllim disabled auto-merge May 1, 2025 21:29
@pllim
Copy link
Collaborator Author
pllim commented May 1, 2025

Huh. CI passed and 2 approvals. Why does it still say merging is blocked?

@emolter
Copy link
Collaborator
emolter commented May 1, 2025

Approval by Melanie or Tyler is required

Copy link
Collaborator
@melanieclarke melanieclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for following up!

@melanieclarke melanieclarke merged commit 49f5e08 into spacetelescope:main May 2, 2025
23 checks passed
@pllim pllim deleted the lib-sty-part2 branch May 2, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0