Skip to content
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

[chore] Update pre commit hooks, copyright dates for 2025, Doc-QA checks, mypy version pin #1699

Merged
merged 7 commits into from
Jan 15, 2025

Conversation

omad
Copy link
Member

@omad omad commented Jan 15, 2025

Reason for this pull request

It's a new year, so update all the copyright dates with the new year, and the pre-commit hooks are out of date.

and after fixing that

The Doc QA CI checks were failing, and not running all the time. So fix the spelling mistakes, fix the doctor-rst configuration, update the version of doctor-rst, and update the CI build file.

and after fixing that

The lint CI check was failing due to a new version of mypy, so pin that.

and after fixing that

I noticed that all the build/test CI jobs were running twice against PRs, so fix that too.


📚 Documentation preview 📚: https://datacube-core--1699.org.readthedocs.build/en/1699/

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.64%. Comparing base (39c96e8) to head (62d7cb6).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1699      +/-   ##
===========================================
+ Coverage    85.62%   85.64%   +0.01%     
===========================================
  Files          151      151              
  Lines        15531    15531              
===========================================
+ Hits         13298    13301       +3     
+ Misses        2233     2230       -3     

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

@omad omad force-pushed the chore/pre-commit-and-copyright-dates branch 3 times, most recently from 8d60354 to 1ea0922 Compare January 15, 2025 04:24
omad added 5 commits January 15, 2025 15:33
While it does catch some sensible errors, doctor-rst is written with
a focus on ReST usage within the PHP ecosystem, and some defaults
are wrong.
Previously, the DOC QA workflow only ran once, when a PR was first
opened, and then if more commits were pushed, it's results were ignored
and it never ran again.

As convenient as this was, for not preventing PRs being merge for
failing Doc QA builds. It's also completely useless!

This split makes the RTD doc preview link comment run once on a new PR
with permission to update the description, and the Doc QA run on any
change to a PR.
@omad omad force-pushed the chore/pre-commit-and-copyright-dates branch from 83e8099 to 776cdd5 Compare January 15, 2025 04:34
@omad omad changed the title [chore] Update pre commit hooks and copyright dates for 2025 [chore] Update pre commit hooks, copyright dates for 2025, Doc-QA checks, mypy version pin Jan 15, 2025
Copy link
Contributor

@Ariana-B Ariana-B left a comment

Choose a reason for hiding this comment

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

Thanks!

@Ariana-B Ariana-B merged commit 9e6eb80 into develop Jan 15, 2025
19 checks passed
@Ariana-B Ariana-B deleted the chore/pre-commit-and-copyright-dates branch January 15, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants