Skip to content

Commit

Permalink
build(deps-dev): update pre-commit requirement from <3.7,>=3 to >=3,<…
Browse files Browse the repository at this point in the history
…3.8 (#474)

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.7.0</h2>
<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>
</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.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.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3126">#3126</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
<li>issue by <a
href="https://github.com/tyyrok"><code>@​tyyrok</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.6.0 - 2023-12-09</h1>
<h3>Features</h3>
<ul>
<li>Check <code>minimum_pre_commit_version</code> first when parsing
configs.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3092">#3092</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Fix deprecation warnings for <code>importlib.resources</code>.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3043">#3043</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>Fix deprecation warnings for rmtree.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3079">#3079</a>
PR by <a
href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>.</li>
</ul>
</li>
</ul>
<h3>Updating</h3>
<ul>
<li>Drop support for python&lt;3.9.</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/7b4667e9e6e05e31707c404c95115b151745866c"><code>7b4667e</code></a>
v3.7.0</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/d46c8fc051f89f0eda3456c8c9c52e129d6acd75"><code>d46c8fc</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a>
from pre-commit/fix-fail-fast</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/fc622159a6c5cd31919ed2a22fa1c11d8ca56dbf"><code>fc62215</code></a>
fix per-hook fail_fast to not fail on previous failures</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/716da1e49c36b8ae46d1dd0ef5aabdb475ee4388"><code>716da1e</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3155">#3155</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/0939c11b4f0488ae3bff9b67aed67ea744189412"><code>0939c11</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/3bdf9fb91bd661c667131dd3f73581a4ce9368c3"><code>3bdf9fb</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3150">#3150</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/75b3e52e57b5d6fc7bef10c131204edf196ae17a"><code>75b3e52</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/5e11c266aecf7c31681ca24a23a622cc1b562cbe"><code>5e11c26</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3122">#3122</a>
from glehmann/docker-tty</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/e58009684cfc4842028e99d34837e2722af39b93"><code>e580096</code></a>
give docker a tty output when expecting color</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/7b868c3508dd3a4c1f1930dc25f5433f2dac7950"><code>7b868c3</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3132">#3132</a>
from pre-commit/pre-commit-ci-update-config</li>
<li>Additional commits viewable in <a
href="https://github.com/pre-commit/pre-commit/compare/v3.0.0...v3.7.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>
  • Loading branch information
Guts authored Apr 1, 2024
2 parents faf60a4 + 358f5f7 commit 07c40dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ flake8-bugbear>=23.1,<24.3
flake8-builtins>=2.1,<3
flake8-eradicate>=1.0,<2
flake8-isort>=5,<6.2
pre-commit>=3,<3.7
pre-commit>=3,<3.8

0 comments on commit 07c40dc

Please sign in to comment.