spacetelescope / jwst

Python library for science observations from the James Webb Space Telescope
https://jwst-pipeline.readthedocs.io/en/latest/
Other
545 stars 158 forks source link

fix ruff style check #8615

Closed braingram closed 5 days ago

braingram commented 5 days ago

Ruff 0.5 removed ruff <path> in favor of ruff check <path>. https://astral.sh/blog/ruff-v0.5.0#removed-deprecated-features

This change broke our style check https://github.com/spacetelescope/jwst/pull/8600#issuecomment-2195456616

This PR fixes the check and adds a noqa to jwst/lib/engdb_direct.py for a new F811 failure.

Checklist for PR authors (skip items if you don't have permissions or they are not applicable)

emolter commented 5 days ago

style check is failing ;)

braingram commented 5 days ago

I might ask who let the dogs out on this one...

codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.56%. Comparing base (23fb5cd) to head (064208c). Report is 13 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8615 +/- ## ========================================== + Coverage 59.54% 59.56% +0.02% ========================================== Files 391 391 Lines 39292 39285 -7 ========================================== + Hits 23396 23402 +6 + Misses 15896 15883 -13 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.