spacetelescope / jwst

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

fix ruff style check #8615

Closed braingram closed 4 months ago

braingram commented 4 months 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 4 months ago

style check is failing ;)

braingram commented 4 months ago

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

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 59.56%. Comparing base (b5df212) to head (064208c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8615 +/- ## ========================================== + Coverage 59.49% 59.56% +0.07% ========================================== Files 391 391 Lines 39327 39285 -42 ========================================== + Hits 23399 23402 +3 + Misses 15928 15883 -45 ```

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