feder-observatory / stellarphot

Stellar aperture photometry
https://stellarphot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

Updated ruff and black precommit revs and added codespell to precommit. #366

Closed JuanCab closed 3 months ago

JuanCab commented 3 months ago

I have updated the precommit config yaml to include codespell in the recommit as well as manually updating the repo rev for ruff and black in the precommit.

I also added precommit.ci as an app for stellarphot (both for feder-observatory and JuanCab), which should do weekly checks on the precommit rev versions and issue PR when there is an update to the rev on one of our recommits.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 76.48%. Comparing base (25c1ec5) to head (63b1fe9). Report is 263 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #366 +/- ## ======================================= Coverage 76.48% 76.48% ======================================= Files 27 27 Lines 3665 3665 ======================================= Hits 2803 2803 Misses 862 862 ```

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

JuanCab commented 3 months ago

This looks good -- should we make the changes to spelling that codespell suggests? And maybe add some codespell exceptions:

  • It is spell checking the SVG logo file
  • It is trying to change TOI to something else.

I think there is a way to add exceptions to pyproject.toml...

I can work on the exceptions, but where are you seeing codespell's suggestions?