Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump pre-commit from 3.8.0 to 4.0.1 (#1256)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/releases">pre-commit's releases</a>.</em></p> <blockquote> <h2>pre-commit v4.0.1</h2> <h3>Fixes</h3> <ul> <li>Fix <code>pre-commit migrate-config</code> for unquoted deprecated stages names with purelib <code>pyyaml</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3324">#3324</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit-ci/issues/issues/234">pre-commit-ci/issues#234</a> issue by <a href="https://github.com/lorenzwalthert"><code>@lorenzwalthert</code></a>.</li> </ul> </li> </ul> <h2>pre-commit v4.0.0</h2> <h3>Features</h3> <ul> <li>Improve <code>pre-commit migrate-config</code> to handle more yaml formats. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3301">#3301</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Handle <code>stages</code> deprecation in <code>pre-commit migrate-config</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3302">#3302</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2732">#2732</a> issue by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Upgrade <code>ruby-build</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3199">#3199</a> PR by <a href="https://github.com/ThisGuyCodes"><code>@ThisGuyCodes</code></a>.</li> </ul> </li> <li>Add "sensible regex" warnings to <code>repo: meta</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3311">#3311</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Add warnings for deprecated <code>stages</code> (<code>commit</code> -> <code>pre-commit</code>, <code>push</code> -> <code>pre-push</code>, <code>merge-commit</code> -> <code>pre-merge-commit</code>). <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3312">#3312</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3313">#3313</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3315">#3315</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2732">#2732</a> issue by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> <h3>Migrating</h3> <ul> <li><code>language: python_venv</code> has been removed -- use <code>language: python</code> instead. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3320">#3320</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2734">#2734</a> issue by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's changelog</a>.</em></p> <blockquote> <h1>4.0.1 - 2024-10-08</h1> <h3>Fixes</h3> <ul> <li>Fix <code>pre-commit migrate-config</code> for unquoted deprecated stages names with purelib <code>pyyaml</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3324">#3324</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit-ci/issues/issues/234">pre-commit-ci/issues#234</a> issue by <a href="https://github.com/lorenzwalthert"><code>@lorenzwalthert</code></a>.</li> </ul> </li> </ul> <h1>4.0.0 - 2024-10-05</h1> <h3>Features</h3> <ul> <li>Improve <code>pre-commit migrate-config</code> to handle more yaml formats. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3301">#3301</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Handle <code>stages</code> deprecation in <code>pre-commit migrate-config</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3302">#3302</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2732">#2732</a> issue by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Upgrade <code>ruby-build</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3199">#3199</a> PR by <a href="https://github.com/ThisGuyCodes"><code>@ThisGuyCodes</code></a>.</li> </ul> </li> <li>Add "sensible regex" warnings to <code>repo: meta</code>. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3311">#3311</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> <li>Add warnings for deprecated <code>stages</code> (<code>commit</code> -> <code>pre-commit</code>, <code>push</code> -> <code>pre-push</code>, <code>merge-commit</code> -> <code>pre-merge-commit</code>). <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3312">#3312</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3313">#3313</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3315">#3315</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2732">#2732</a> issue by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> <h3>Migrating</h3> <ul> <li><code>language: python_venv</code> has been removed -- use <code>language: python</code> instead. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3320">#3320</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/2734">#2734</a> issue by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pre-commit/pre-commit/commit/cc4a52241565440ce200666799eef70626457488"><code>cc4a522</code></a> v4.0.1</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/772d7d45d38b45a52355d8da708c068a0f242b00"><code>772d7d4</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3324">#3324</a> from pre-commit/migrate-config-purelib</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/222c62bc5d2907efbd6052c5fb89c4c027400044"><code>222c62b</code></a> fix migrate-config for purelib yaml</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/3d5548b487c4133181998a0a99148682625af8d1"><code>3d5548b</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3323">#3323</a> from pre-commit/pre-commit-ci-update-config</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/4235a877f3ac4998b41e9cce8a709ac13de159b5"><code>4235a87</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/dbccd57db0e9cf993ea909e929eea97f6e4389ea"><code>dbccd57</code></a> v4.0.0</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/d07e52901ccd9ceecb0b8c17627b2803a974669b"><code>d07e529</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3320">#3320</a> from pre-commit/remove-python-venv</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/801b956304e2ad2738bdb76d9c65ed52e967bb57"><code>801b956</code></a> remove deprecated python_venv alias</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/a2f7b80e8952594985e2719d0d12cb194a5e855e"><code>a2f7b80</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3315">#3315</a> from pre-commit/warn-deprecated-stage-names-on-init</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/d31722386e57a98d8d7d6d74228d255b9a9ffaf3"><code>d317223</code></a> add warning for deprecates stages for remote repos on init</li> <li>Additional commits viewable in <a href="https://github.com/pre-commit/pre-commit/compare/v3.8.0...v4.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pre-commit&package-manager=pip&previous-version=3.8.0&new-version=4.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information