Skip to content

Commit

Permalink
Update pre-commit requirement from ~=3.7 to ~=3.8 (#775)
Browse files Browse the repository at this point in the history
Updates the requirements on
[pre-commit](https://github.com/pre-commit/pre-commit) to permit the
latest version.
<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 v3.8.0</h2>
<h3>Features</h3>
<ul>
<li>Implement health checks for <code>language: r</code> so environments
are recreated if the system version of R changes.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3206">#3206</a>
issue by <a
href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3265">#3265</a>
PR by <a
href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</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>3.8.0 - 2024-07-28</h1>
<h3>Features</h3>
<ul>
<li>Implement health checks for <code>language: r</code> so environments
are recreated if
the system version of R changes.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3206">#3206</a>
issue by <a
href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3265">#3265</a>
PR by <a
href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.7.1 - 2024-05-10</h1>
<h3>Fixes</h3>
<ul>
<li>Fix <code>language: rust</code> default language version check when
<code>rust-toolchain.toml</code>
is present.
<ul>
<li>issue by <a
href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3201">#3201</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.7.0 - 2024-03-24</h1>
<h3>Features</h3>
<ul>
<li>Use a tty for <code>docker</code> and <code>docker_image</code>
hooks when <code>--color</code> is specified.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3122">#3122</a>
PR by <a
href="https://github.com/glehmann"><code>@​glehmann</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fix <code>fail_fast</code> for individual hooks stopping when
previous hooks had failed.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3167">#3167</a>
issue by <a
href="https://github.com/tp832944"><code>@​tp832944</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Updating</h3>
<ul>
<li>The per-hook behaviour of <code>fail_fast</code> was fixed. If you
want the pre-3.7.0
behaviour, add <code>fail_fast: true</code> to all hooks before the last
<code>fail_fast</code>
hook.</li>
</ul>
<h1>3.6.2 - 2024-02-18</h1>
<h3>Fixes</h3>
<ul>
<li>Fix building golang hooks during <code>git commit --all</code>.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3130">#3130</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/2722">#2722</a>
issue by <a
href="https://github.com/pestanko"><code>@​pestanko</code></a> and <a
href="https://github.com/matthewhughes934"><code>@​matthewhughes934</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.6.1 - 2024-02-10</h1>
<h3>Fixes</h3>
<ul>
<li>Remove <code>PYTHONEXECUTABLE</code> from environment when running.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3110">#3110</a>
PR by <a
href="https://github.com/untitaker"><code>@​untitaker</code></a>.</li>
</ul>
</li>
<li>Handle staged-files-only with only a crlf diff.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/d46423ffe14a37a06a0bcb6fe1b8294a27b6c289"><code>d46423f</code></a>
v3.8.0</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/8133abd7308547355a524526366a62b3a6aa3acd"><code>8133abd</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3265">#3265</a>
from lorenzwalthert/issue-3206</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/da0c1d0cfa19f6dc0d6ed97820c7cc93fe7e7c58"><code>da0c1d0</code></a>
implement health check for language:r</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/f641f6a15701671dc31e661ee319268ee361d721"><code>f641f6a</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3264">#3264</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/a68a19d217d0d1067828622fde9044d9502693b3"><code>a68a19d</code></a>
fixes for mypy 1.11</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/88317ddb34ac8c60b4be7e22198fb550dcae995e"><code>88317dd</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/faa6f8c70ccef865884adb0cb079c8162013bf19"><code>faa6f8c</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3244">#3244</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/f632459bc67834a200aac26f1129fc16f82fb625"><code>f632459</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/0252908c27b4e5539978ec8e676576a5e9ea8c2f"><code>0252908</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3240">#3240</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/69b5dce12ab0674cd7a622ca8b55f1afa720211b"><code>69b5dce</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v3.7.0...v3.8.0">compare
view</a></li>
</ul>
</details>
<br />


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 Jul 29, 2024
1 parent 7ee6d02 commit ca64725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pre-commit>=2.21.0,<3; python_version<"3.9"
pre-commit~=3.7; python_version>="3.9"
pre-commit~=3.8; python_version>="3.9"
pylint~=2.17; python_version<"3.8"
pylint~=3.2; python_version>="3.8"
pytest~=7.4; python_version<"3.8"
Expand Down

0 comments on commit ca64725

Please sign in to comment.