Skip to content

Follow-on to #7150: validate for readingtime directive#7157

Open
trexfeathers wants to merge 1 commit into
SciTools:mainfrom
trexfeathers:check-reading-length
Open

Follow-on to #7150: validate for readingtime directive#7157
trexfeathers wants to merge 1 commit into
SciTools:mainfrom
trexfeathers:check-reading-length

Conversation

@trexfeathers

@trexfeathers trexfeathers commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

@bjlittle @tkknight I wanted to make this suggestion on #7150 but you were too quick for me!

The readingtime directive seems like one of those useful features that is prime to be forgotten when people add new pages. What do you think of this validator idea? 1

Footnotes

  1. no problem if it's too much. Only took 30mins to write agentically.

@scitools-ci scitools-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Templating

This PR includes changes that may be worth sharing via templating. For each file listed below, please either:

  • Action the suggestion via a pull request editing/adding the relevant file in the SciTools/.github templates/ directory. 1
  • Raise an issue against the SciTools/.github repo for the above action if you really don't have 10mins spare right now. Include an assignee, to avoid it being forgotten.
  • Dismiss the suggestion if the changes are not suitable for templating.

You will need to dismiss this review before this PR can be merged. Recommend the reviewer does this as their final action before merging, as this text will continually update as commits come in.

Template candidates

The following changed files are not currently templated, but their parent directories suggest they may be good candidates for a new template to be created:

Footnotes

  1. Include this text in the PR body to avoid any notifications about applying the template changes back to the source repo!
    @scitools-templating: please no update notification on: iris

@trexfeathers

trexfeathers commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

#7157 (review)

This change is Iris-specific

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.14%. Comparing base (28092e8) to head (3eeffa8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7157   +/-   ##
=======================================
  Coverage   90.14%   90.14%           
=======================================
  Files          91       91           
  Lines       24967    24967           
  Branches     4684     4684           
=======================================
  Hits        22506    22506           
  Misses       1683     1683           
  Partials      778      778           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant