spacetelescope / stcal

https://stcal.readthedocs.io/en/latest/
Other
10 stars 32 forks source link

Run automated formatting and linters #187

Closed WilliamJamieson closed 11 months ago

WilliamJamieson commented 1 year ago

This PR adds automated linters and code formatters to stcal.

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Attention: 238 lines in your changes are missing coverage. Please review.

Files Coverage Δ
src/stcal/__init__.py 100.00% <100.00%> (ø)
src/stcal/alignment/resample_utils.py 100.00% <100.00%> (ø)
src/stcal/linearity/linearity.py 100.00% <100.00%> (ø)
src/stcal/ramp_fitting/ols_cas22/__init__.py 100.00% <100.00%> (ø)
src/stcal/ramp_fitting/ramp_fit_class.py 55.91% <100.00%> (ø)
src/stcal/saturation/saturation.py 98.33% <100.00%> (-0.03%) :arrow_down:
tests/test_alignment.py 100.00% <100.00%> (ø)
tests/test_dark_current.py 100.00% <100.00%> (ø)
tests/test_dq.py 92.30% <100.00%> (ø)
tests/test_jump.py 95.02% <100.00%> (ø)
... and 22 more

:loudspeaker: Thoughts on this report? Let us know!

WilliamJamieson commented 11 months ago

JWST passes regression tests: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1052/