Bump mypy from 1.4.1 to 1.5.0 (#840)
Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/
a6bd80ed8c91138ce6112b5ce71fc406d426cd01"><code>
a6bd80e</code></a>
Remove <code>+dev</code> from version</li>
<li><a
href="https://github.com/python/mypy/commit/
9dd0d396e0a8b477e4bf723a6a24d82db7785ea8"><code>
9dd0d39</code></a>
Manually revert "Add support for attrs.fields (<a
href="https://redirect.github.com/python/mypy/issues/15021">#15021</a>)"
(<a
href="https://redirect.github.com/python/mypy/issues/15674">#15674</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
45e1bf7a83686a5b933eb009447e89e5d1c41ca9"><code>
45e1bf7</code></a>
Typeshed cherry-pick: Fix <a
href="https://github.com/patch"><code>@patch</code></a> when
<code>new</code> is missing (<a
href="https://redirect.github.com/python/mypy/issues/10459">#10459</a>)
(<a
href="https://redirect.github.com/python/mypy/issues/15673">#15673</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
7a9418356082092d2cb1585acb816b2074cff43e"><code>
7a94183</code></a>
Fix dataclass/protocol crash on joining types (<a
href="https://redirect.github.com/python/mypy/issues/15629">#15629</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
2ebd51e881490f4d20635cde92ef9e3edbbad68c"><code>
2ebd51e</code></a>
Teach <code>stubgen</code> to work with <code>complex</code> and unary
expressions (<a
href="https://redirect.github.com/python/mypy/issues/15661">#15661</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
39833810ddcd29561f3ffed44703380aa26a68be"><code>
3983381</code></a>
Fix testLiteralMeets failure (<a
href="https://redirect.github.com/python/mypy/issues/15659">#15659</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
3bf85217386806b0f68bf8857b61379ae2f6ad1e"><code>
3bf8521</code></a>
Consistently avoid type-checking unreachable code (<a
href="https://redirect.github.com/python/mypy/issues/15386">#15386</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
dfea43ff96976435ee5f37d1294cca792b8f26cf"><code>
dfea43f</code></a>
Add error code "explicit-override" for strict <a
href="https://github.com/override"><code>@override</code></a> mode (PEP
698) (<a
href="https://redirect.github.com/python/mypy/issues/15512">#15512</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
8a5d8f085185c41fce15ab108db236f1d94e5b62"><code>
8a5d8f0</code></a>
type_narrowing.rst: fix syntax, consistency (<a
href="https://redirect.github.com/python/mypy/issues/15652">#15652</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/
b78f4b536325f77995550f69a260398b8e579734"><code>
b78f4b5</code></a>
Add runtime <code>__slots__</code> attribute to <code>attrs</code> (<a
href="https://redirect.github.com/python/mypy/issues/15651">#15651</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.4.1...v1.5.0">compare
view</a></li>
</ul>
</details>
<br />
[](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>