Skip to content

Commit

Permalink
Bump pre-commit from 3.8.0 to 4.0.0 (#167)
Browse files Browse the repository at this point in the history
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0
to 4.0.0.
<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.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 &quot;sensible regex&quot; 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>
-&gt; <code>pre-commit</code>, <code>push</code> -&gt;
<code>pre-push</code>, <code>merge-commit</code> -&gt;
<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.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 &quot;sensible regex&quot; 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>
-&gt; <code>pre-commit</code>, <code>push</code> -&gt;
<code>pre-push</code>, <code>merge-commit</code> -&gt;
<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/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><a
href="https://github.com/pre-commit/pre-commit/commit/7555e11098696342f9d0b6dbd2e6d67fce14e301"><code>7555e11</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3314">#3314</a>
from pre-commit/remove-log-info-mock</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/05e365fe08a63d8cb866a60cf9e68381b9e4284e"><code>05e365f</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3313">#3313</a>
from pre-commit/default-stages-warning</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/1d2f1c0ccea63906c8bcc9265bb9940383341c0c"><code>1d2f1c0</code></a>
replace log_info_mock with pytest's caplog</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/33e020f315a0f8654500ffbbb103ef7b39fd7ff9"><code>33e020f</code></a>
add warning for deprecated stages values in
<code>default_stages</code></li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/e7cfc0d2cb33dbd1f98a4732d4d7498eca225e4e"><code>e7cfc0d</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3312">#3312</a>
from pre-commit/warning-for-old-stage-names</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v3.8.0...v4.0.0">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.0)](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
dependabot[bot] authored Oct 8, 2024
1 parent 47d8db0 commit 81753a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ types-dataclasses = "^0.6.6"
types-pyyaml = "^6.0.12.20240808"
mypy = "^1.10.0"
ruff = "^0.6.9"
pre-commit = "^3.7.1"
pre-commit = "^4.0.0"
types-protobuf = "^5.28.0.20240924"
types-redis = "^4.6.0.20240903"

Expand Down

0 comments on commit 81753a0

Please sign in to comment.