Skip to content

Commit

Permalink
Update pre-commit requirement from <3.6,>=2.10 to >=2.10,<3.7 in /req…
Browse files Browse the repository at this point in the history
…uirements (#270)

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.6.0</h2>
<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.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3042">#3042</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/3093">#3093</a>
PR 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>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.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3042">#3042</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/3093">#3093</a>
PR by <a
href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.5.0 - 2023-10-13</h1>
<h3>Features</h3>
<ul>
<li>Improve performance of <code>check-hooks-apply</code> and
<code>check-useless-excludes</code>.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2998">#2998</a>
PR by <a href="https://github.com/mxr"><code>@​mxr</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2935">#2935</a>
issue by <a href="https://github.com/mxr"><code>@​mxr</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Use <code>time.monotonic()</code> for more accurate hook timing.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3024">#3024</a>
PR by <a
href="https://github.com/adamchainz"><code>@​adamchainz</code></a>.</li>
</ul>
</li>
</ul>
<h3>Migrating</h3>
<ul>
<li>Require npm 6.x+ for <code>language: node</code> hooks.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2996">#2996</a>
PR by <a
href="https://github.com/RoelAdriaans"><code>@​RoelAdriaans</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/1983">#1983</a>
issue by <a
href="https://github.com/henryiii"><code>@​henryiii</code></a>.</li>
</ul>
</li>
</ul>
<h1>3.4.0 - 2023-09-02</h1>
<h3>Features</h3>
<ul>
<li>Add <code>language: haskell</code>.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2932">#2932</a>
by <a
href="https://github.com/alunduil"><code>@​alunduil</code></a>.</li>
</ul>
</li>
<li>Improve cpu count detection when run under cgroups.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2979">#2979</a>
PR by <a href="https://github.com/jdb8"><code>@​jdb8</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2978">#2978</a>
issue by <a href="https://github.com/jdb8"><code>@​jdb8</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Handle negative exit codes from hooks receiving posix signals.
<ul>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2971">#2971</a>
PR by <a
href="https://github.com/chriskuehl"><code>@​chriskuehl</code></a>.</li>
<li><a
href="https://redirect.github.com/pre-commit/pre-commit/issues/2970">#2970</a>
issue by <a
href="https://github.com/chriskuehl"><code>@​chriskuehl</code></a>.</li>
</ul>
</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/9c9983dba00bf67d1b2625f1f0e9112afc063849"><code>9c9983d</code></a>
v3.6.0</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/7dc0a59ee5b74b450eb5e8f1e780f8133f34ac0b"><code>7dc0a59</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3093">#3093</a>
from pre-commit/removeprefix</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/d3fa7f415c19d73c8624b15fbe3e523e423ca340"><code>d3fa7f4</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3092">#3092</a>
from pre-commit/minimum-version-first</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/08478ec176b705d17e3f7b0608d155e9dadff9bf"><code>08478ec</code></a>
python 3.9+: use removeprefix</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/047439abffb164edd5b49e50439fd63a625be3da"><code>047439a</code></a>
attempt minimum_pre_commit_version first when parsing configs</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/23a2b7360e94be42addf02336a47bcf80fb7a7de"><code>23a2b73</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3079">#3079</a>
from edgarrmondragon/deprecation-rmtree-onerror</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/cffabe54be63f0fd05b42ae73842387d07110feb"><code>cffabe5</code></a>
Address deprecation warning in
<code>shutil.rmtree(onerror=...)</code></li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/51df34e5fb3e831ebe6a59d9f0004bfa005c0efa"><code>51df34e</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3078">#3078</a>
from pre-commit/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/e36cefc8bd43aaee1686d16e31ecb98f576fe121"><code>e36cefc</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pre-commit/pre-commit/commit/2280645d0e2f1fa54654d8c36cc8d62f15f4d413"><code>2280645</code></a>
Merge pull request <a
href="https://redirect.github.com/pre-commit/pre-commit/issues/3064">#3064</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/v2.10.0...v3.6.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 Jan 4, 2024
2 parents 6ffc20f + 5e6a65b commit 6cee6b9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions requirements/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

# tooling
black
flake8>=3.8,<6.2
flake8-builtins>=1.5,<2.3
flake8-isort>=4.0,<6.2
flake8-print>=5,<5.1
pre-commit>=2.10,<3.6
flake8-builtins>=1.5
flake8-isort>=4.0
flake8-print>=5
pre-commit>=3,<4

# for testing
nose2>=0.10,<0.15

0 comments on commit 6cee6b9

Please sign in to comment.