Skip to content

update https://github.com/pre-commit/pre-commit-hooks to v5#12355

Merged
altendky merged 2 commits intotrunkfrom
altendky-patch-4
Nov 6, 2024
Merged

update https://github.com/pre-commit/pre-commit-hooks to v5#12355
altendky merged 2 commits intotrunkfrom
altendky-patch-4

Conversation

@altendky
Copy link
Member

@altendky altendky commented Nov 6, 2024

Scope and purpose

avoid this warning

https://github.com/twisted/twisted/actions/runs/11704390335/job/32596743062?pr=12354#step:5:182

Warning:  repo `[https://github.com/pre-commit/pre-commit-hooks`](https://github.com/pre-commit/pre-commit-hooks%60) uses deprecated stage names (commit, push) which will be removed in a future version.  Hint: often `pre-commit autoupdate --repo [https://github.com/pre-commit/pre-commit-hooks`](https://github.com/pre-commit/pre-commit-hooks%60) will fix this.  if it does not -- consider reporting an issue to that repo.

image

note no warning at https://github.com/twisted/twisted/actions/runs/11704630183/job/32597537632?pr=12355#step:5:178

Fixes #

Add a few words about why this PR is needed and what is its scope.
If the associate ticket(s) fully explain the need you can just refer to it/them.

Add any comments about trade-offs (if any) made in this PR and the reasoning behind them.

Add mentions of things that are not covered here and are planed to be done in separate PRs.

Contributor Checklist:

This process applies to all pull requests - no matter how small.
Have a look at our developer documentation before submitting your Pull Request.

Below is a non-exhaustive list (as a reminder):

  • The title of the PR should describe the changes and starts with the associated issue number, like “#9782 Remove twisted.news. #1234 Brief description”.
  • A release notes news fragment file was create in src/twisted/newsfragments/ (see: Release notes fragments docs.)
  • The automated tests were updated.
  • Once all checks are green, request a review by leaving a comment that contains exactly the string please review.
    Our bot will trigger the review process, by applying the pending review label
    and requesting a review from the Twisted dev team.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 6, 2024

CodSpeed Performance Report

Merging #12355 will not alter performance

Comparing altendky-patch-4 (d962a03) with trunk (1124862)

Summary

✅ 25 untouched benchmarks

@altendky altendky marked this pull request as ready for review November 6, 2024 13:38
@chevah-robot chevah-robot requested a review from a team November 6, 2024 13:38
Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

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

Thanks for the update.. I think that we can merge this.

Using the PR ID as the issue ID should be fine.

The goal of a news-fragment is to make sure that we have taken into consideration the public impact of this change... and the result is that there is no public API impact... so we have .misc


I see another warning in GitHub Actions... I guess that this means that we should stop using macoS12 and look at updating to macos13

3.8-macos-12-default-tests
A brownout will take place on November 11, 14:00 UTC - November 12, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721

@altendky
Copy link
Member Author

altendky commented Nov 6, 2024

Thanks for the review. I'll note that afaik macOS 13 is the last Intel one (at least from GitHub Actions). #12356

@altendky altendky merged commit 2f10a71 into trunk Nov 6, 2024
@altendky altendky deleted the altendky-patch-4 branch November 6, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants