Bump pre-commit from 2.16.0 to 2.17.0
diff --git a/poetry.lock b/poetry.lock
index 38171bea9..00236f63e 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -699,7 +699,7 @@ testing = ["pytest", "pytest-benchmark"]
 
 [[package]]
 name = "pre-commit"
-version = "2.16.0"
+version = "2.17.0"
 description = "A framework for managing and maintaining multi-language pre-commit hooks."
 category = "dev"
 optional = false
@@ -1049,7 +1049,7 @@ jupyter = ["ipywidgets"]
 [metadata]
 lock-version = "1.1"
 python-versions = "^3.6.2"
-content-hash = "656a91a327289529d8bb9135fef6c66486a192e7a7e8ed682d7c3e7bf5f7b239"
+content-hash = "52b9945e394bf17a621aafd1d844a9c2f467d0fdb28d28d68b601d1a5caf4c82"
 
 [metadata.files]
 appnope = [
@@ -1487,8 +1487,8 @@ pluggy = [
     {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"},
 ]
 pre-commit = [
-    {file = "pre_commit-2.16.0-py2.py3-none-any.whl", hash = "sha256:758d1dc9b62c2ed8881585c254976d66eae0889919ab9b859064fc2fe3c7743e"},
-    {file = "pre_commit-2.16.0.tar.gz", hash = "sha256:fe9897cac830aa7164dbd02a4e7b90cae49630451ce88464bca73db486ba9f65"},
+    {file = "pre_commit-2.17.0-py2.py3-none-any.whl", hash = "sha256:725fa7459782d7bec5ead072810e47351de01709be838c2ce1726b9591dad616"},
+    {file = "pre_commit-2.17.0.tar.gz", hash = "sha256:c1a8040ff15ad3d648c70cc3e55b93e4d2d5b687320955505587fd79bbaed06a"},
 ]
 prometheus-client = [
     {file = "prometheus_client-0.12.0-py2.py3-none-any.whl", hash = "sha256:317453ebabff0a1b02df7f708efbab21e3489e7072b61cb6957230dd004a0af0"},
diff --git a/pyproject.toml b/pyproject.toml
index 4f7d8dd26..4faf29818 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -45,7 +45,7 @@ mypy = "^0.930"
 pytest-cov = "^3.0.0"
 attrs = "^21.4.0"
 types-dataclasses = "^0.6.4"
-pre-commit = "^2.16.0"
+pre-commit = "^2.17.0"
 
 [build-system]
 requires = ["poetry-core>=1.0.0"]

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.16.0 to 2.17.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 v2.17.0</h2>
<h3>Features</h3>
<ul>
<li>add warnings for regexes containing <code>[\\/]</code>.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2151">#2151</a> issue by <a href="https://github.com/sanjioh"><code>@​sanjioh</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2154">#2154</a> PR by <a href="https://github.com/kuviokelluja"><code>@​kuviokelluja</code></a>.</li>
</ul>
</li>
<li>upgrade supported ruby versions.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2205">#2205</a> PR by <a href="https://github.com/jalessio"><code>@​jalessio</code></a>.</li>
</ul>
</li>
<li>allow <code>language: conda</code> to use <code>mamba</code> or <code>micromamba</code> via <code>PRE_COMMIT_USE_MAMBA=1</code> or <code>PRE_COMMIT_USE_MICROMAMBA=1</code> respectively.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2204">#2204</a> issue by <a href="https://github.com/janjagusch"><code>@​janjagusch</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2207">#2207</a> PR by <a href="https://github.com/xhochy"><code>@​xhochy</code></a>.</li>
</ul>
</li>
<li>display <code>git --version</code> in error report.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2210">#2210</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>add <code>language: lua</code> as a supported language.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2158">#2158</a> PR by <a href="https://github.com/mblayman"><code>@​mblayman</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>temporarily add <code>setuptools</code> to the zipapp.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2122">#2122</a> issue by <a href="https://github.com/andreoliwa"><code>@​andreoliwa</code></a>.</li>
<li>a737d5f commit by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>use <code>go install</code> instead of <code>go get</code> for go 1.18+ support.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2161">#2161</a> PR by <a href="https://github.com/schmir"><code>@​schmir</code></a>.</li>
</ul>
</li>
<li>fix <code>language: r</code> with a local renv and <code>RENV_PROJECT</code> set.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2170">#2170</a> PR by <a href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
</ul>
</li>
<li>forbid overriding <code>entry</code> in <code>language: meta</code> hooks which breaks them.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2180">#2180</a> issue by <a href="https://github.com/DanKaplanSES"><code>@​DanKaplanSES</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2181">#2181</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>always use <code>#!/bin/sh</code> on windows for hook script.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2182">#2182</a> issue by <a href="https://github.com/hushigome-visco"><code>@​hushigome-visco</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2187">#2187</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/master/CHANGELOG.md">pre-commit's changelog</a>.</em></p>
<blockquote>
<h1>2.17.0 - 2022-01-18</h1>
<h3>Features</h3>
<ul>
<li>add warnings for regexes containing <code>[\\/]</code>.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2151">#2151</a> issue by <a href="https://github.com/sanjioh"><code>@​sanjioh</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2154">#2154</a> PR by <a href="https://github.com/kuviokelluja"><code>@​kuviokelluja</code></a>.</li>
</ul>
</li>
<li>upgrade supported ruby versions.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2205">#2205</a> PR by <a href="https://github.com/jalessio"><code>@​jalessio</code></a>.</li>
</ul>
</li>
<li>allow <code>language: conda</code> to use <code>mamba</code> or <code>micromamba</code> via
<code>PRE_COMMIT_USE_MAMBA=1</code> or <code>PRE_COMMIT_USE_MICROMAMBA=1</code> respectively.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2204">#2204</a> issue by <a href="https://github.com/janjagusch"><code>@​janjagusch</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2207">#2207</a> PR by <a href="https://github.com/xhochy"><code>@​xhochy</code></a>.</li>
</ul>
</li>
<li>display <code>git --version</code> in error report.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2210">#2210</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>add <code>language: lua</code> as a supported language.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2158">#2158</a> PR by <a href="https://github.com/mblayman"><code>@​mblayman</code></a>.</li>
</ul>
</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>temporarily add <code>setuptools</code> to the zipapp.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2122">#2122</a> issue by <a href="https://github.com/andreoliwa"><code>@​andreoliwa</code></a>.</li>
<li>a737d5f commit by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>use <code>go install</code> instead of <code>go get</code> for go 1.18+ support.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2161">#2161</a> PR by <a href="https://github.com/schmir"><code>@​schmir</code></a>.</li>
</ul>
</li>
<li>fix <code>language: r</code> with a local renv and <code>RENV_PROJECT</code> set.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2170">#2170</a> PR by <a href="https://github.com/lorenzwalthert"><code>@​lorenzwalthert</code></a>.</li>
</ul>
</li>
<li>forbid overriding <code>entry</code> in <code>language: meta</code> hooks which breaks them.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2180">#2180</a> issue by <a href="https://github.com/DanKaplanSES"><code>@​DanKaplanSES</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2181">#2181</a> PR by <a href="https://github.com/asottile"><code>@​asottile</code></a>.</li>
</ul>
</li>
<li>always use <code>#!/bin/sh</code> on windows for hook script.
<ul>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2182">#2182</a> issue by <a href="https://github.com/hushigome-visco"><code>@​hushigome-visco</code></a>.</li>
<li><a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2187">#2187</a> PR 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/d3bdf1403d92f8cf2dc77bd99a5da42f0a6cef17"><code>d3bdf14</code></a> v2.17.0</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/b22b313e4b042867bf0835f0e842a7281f6faf91"><code>b22b313</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2158">#2158</a> from mblayman/lua</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/54331dca6fcfff1a06c43defb29b395898c65ce8"><code>54331dc</code></a> get lua version from luarocks itself</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/3f8be7400d523fafe8c6d2d0fa4fb1560e7ae21d"><code>3f8be74</code></a> Add naive and untested version of Lua language support.</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/7a305e5d9ab5e94f2d93599008d20e38f5842ac9"><code>7a305e5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2210">#2210</a> from pre-commit/git-version</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/c05f58b776603dc2a5222f035c2dc058426497de"><code>c05f58b</code></a> add git version to error output</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/12b482345b4eee0153ebabbd3911614ac48d6687"><code>12b4823</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2207">#2207</a> from xhochy/mamba</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/83aa65c4291b8a1a134cd024fbe071323f400c83"><code>83aa65c</code></a> Add mamba support to <code>language: conda</code></li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/657e76ba77ef4ae5b6e2ebe5f06cacdbf22a19a2"><code>657e76b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pre-commit/pre-commit/issues/2205">#2205</a> from jalessio/jamie/upgrade-rbenv</li>
<li><a href="https://github.com/pre-commit/pre-commit/commit/428dc6e46eb68065bfc115419927949cdd056811"><code>428dc6e</code></a> Update rbenv / ruby-build versions</li>
<li>Additional commits viewable in <a href="https://github.com/pre-commit/pre-commit/compare/v2.16.0...v2.17.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=2.16.0&new-version=2.17.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 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>