-
Notifications
You must be signed in to change notification settings - Fork 0
Commit cd442c9
authored
chore(deps-dev): bump mypy from 1.16.1 to 1.17.0 in the development-dependencies group (#254)
Bumps the development-dependencies group with 1 update:
[mypy](https://github.com/python/mypy).
Updates `mypy` from 1.16.1 to 1.17.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's
changelog</a>.</em></p>
<blockquote>
<h1>Mypy Release Notes</h1>
<h2>Next Release</h2>
<h2>Mypy 1.17</h2>
<p>We’ve just uploaded mypy 1.17 to the Python Package Index (<a
href="https://pypi.org/project/mypy/">PyPI</a>).
Mypy is a static type checker for Python. This release includes new
features and bug fixes.
You can install it as follows:</p>
<pre><code>python3 -m pip install -U mypy
</code></pre>
<p>You can read the full documentation for this release on <a
href="http://mypy.readthedocs.io">Read the Docs</a>.</p>
<h3>Optionally Check That Match Is Exhaustive</h3>
<p>Mypy can now optionally generate an error if a match statement does
not
match exhaustively, without having to use
<code>assert_never(...)</code>. Enable
this by using <code>--enable-error-code exhaustive-match</code>.</p>
<p>Example:</p>
<pre lang="python"><code># mypy: enable-error-code=exhaustive-match
<p>import enum</p>
<p>class Color(enum.Enum):
RED = 1
BLUE = 2</p>
<p>def show_color(val: Color) -> None:
# error: Unhandled case for values of type
"Literal[Color.BLUE]"
match val:
case Color.RED:
print("red")
</code></pre></p>
<p>This feature was contributed by Donal Burns (PR <a
href="https://redirect.github.com/python/mypy/pull/19144">19144</a>).</p>
<h3>Further Improvements to Attribute Resolution</h3>
<p>This release includes additional improvements to how attribute types
and kinds are resolved. These fix many bugs and overall improve
consistency.</p>
<ul>
<li>Handle corner case: protocol/class variable/descriptor (Ivan
Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/19277">19277</a>)</li>
<li>Fix a few inconsistencies in protocol/type object interactions (Ivan
Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/19267">19267</a>)</li>
<li>Refactor/unify access to static attributes (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/19254">19254</a>)</li>
<li>Remove inconsistencies in operator handling (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/19250">19250</a>)</li>
<li>Make protocol subtyping more consistent (Ivan Levkivskyi, PR <a
href="https://redirect.github.com/python/mypy/pull/18943">18943</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/0260991f6b055110c3df36bd5539d4f4489bf153"><code>0260991</code></a>
Update version string</li>
<li><a
href="https://github.com/python/mypy/commit/3901aa2f9523ce55e08d94c1716028d840398753"><code>3901aa2</code></a>
Updates to 1.17 changelog (<a
href="https://redirect.github.com/python/mypy/issues/19436">#19436</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/7d133961a7e759aab84223bf8038b9489daaa93c"><code>7d13396</code></a>
Initial changelog for 1.17 release (<a
href="https://redirect.github.com/python/mypy/issues/19427">#19427</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/a182dec997b418b925fe0c28575c50debba0bb3a"><code>a182dec</code></a>
Combine the revealed types of multiple iteration steps in a more robust
manne...</li>
<li><a
href="https://github.com/python/mypy/commit/ab4fd57d45b7f81cf281b17b7d3697ac9f79bc15"><code>ab4fd57</code></a>
Improve the handling of "iteration dependent" errors and notes
in finally cla...</li>
<li><a
href="https://github.com/python/mypy/commit/09ba1f6488b3e8d91c5204839421c61c306ff252"><code>09ba1f6</code></a>
[mypyc] Fix exception swallowing in async try/finally blocks with await
(<a
href="https://redirect.github.com/python/mypy/issues/19353">#19353</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/5c65e330b0e4a188d68c04715a90e1f7d9c18df6"><code>5c65e33</code></a>
[mypyc] Fix AttributeError in async try/finally with mixed return paths
(<a
href="https://redirect.github.com/python/mypy/issues/19361">#19361</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/934ec50744c766522329c604c6908a6ed05affd6"><code>934ec50</code></a>
Lessen dmypy suggest path limitations for Windows machines (<a
href="https://redirect.github.com/python/mypy/issues/19337">#19337</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/a4801f928aaadb19f9893fe45af8e69ab6b509d0"><code>a4801f9</code></a>
Type ignore comments erroneously marked as unused by dmypy (<a
href="https://redirect.github.com/python/mypy/issues/15043">#15043</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/c3bfa0d6f3ac3cea78cc497a3c44002ea46437a1"><code>c3bfa0d</code></a>
Handle corner case: protocol vs classvar vs descriptor (<a
href="https://redirect.github.com/python/mypy/issues/19277">#19277</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.16.1...v1.17.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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 29342d6 commit cd442c9Copy full SHA for cd442c9
File tree
Expand file treeCollapse file tree
1 file changed
+33
-33
lines changedFilter options
Expand file treeCollapse file tree
1 file changed
+33
-33
lines changed+33-33Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments