Skip to content

Commit

Permalink
Bump mypy from 1.4.1 to 1.5.0 (#7512)
Browse files Browse the repository at this point in the history
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/2ff7c0de571d434a9a1f82fa183d32fa32999b40"><code>2ff7c0d</code></a>
[release 1.5] stubtest: Fix <code>__mypy-replace</code> false positives
(<a
href="https://redirect.github.com/python/mypy/issues/15689">#15689</a>)
(<a
href="https://redirect.github.com/python/mypy/issues/15751">#15751</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/373b73abeb14fdd1f3021f4c27fe1721d2986ed4"><code>373b73a</code></a>
[Release 1.5] Update typing_extensions stubs (<a
href="https://redirect.github.com/python/mypy/issues/15745">#15745</a>)</li>
<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 &quot;Add support for attrs.fields (<a
href="https://redirect.github.com/python/mypy/issues/15021">#15021</a>)&quot;
(<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 &quot;explicit-override&quot; 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>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 />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=1.4.1&new-version=1.5.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 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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam Bull <git@sambull.org>
  • Loading branch information
dependabot[bot] and Dreamsorcerer authored Aug 11, 2023
1 parent 9988b62 commit e481c05
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_decorators = True
disallow_untyped_defs = True
# TODO(PY312): explicit-override
enable_error_code = ignore-without-code, possibly-undefined, redundant-expr, redundant-self, truthy-bool, truthy-iterable, unused-awaitable
extra_checks = True
implicit_reexport = False
no_implicit_optional = True
pretty = True
show_column_numbers = True
show_error_codes = True
show_error_code_links = True
strict_equality = True
warn_incomplete_stub = True
warn_redundant_casts = True
Expand Down
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ multidict==6.0.4
# -r requirements/multidict.in
# -r requirements/runtime-deps.in
# yarl
mypy==1.4.1 ; implementation_name == "cpython"
mypy==1.5.0 ; implementation_name == "cpython"
# via -r requirements/lint.in
mypy-extensions==1.0.0
# via mypy
Expand Down
6 changes: 2 additions & 4 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,8 @@ multidict==6.0.4
# via
# -r requirements/runtime-deps.in
# yarl
mypy==1.4.1 ; implementation_name == "cpython"
# via
# -r requirements/lint.in
# -r requirements/test.in
mypy==1.5.0 ; implementation_name == "cpython"
# via -r requirements/lint.in
mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ identify==2.5.26
# via pre-commit
iniconfig==2.0.0
# via pytest
mypy==1.4.1 ; implementation_name == "cpython"
mypy==1.5.0 ; implementation_name == "cpython"
# via -r requirements/lint.in
mypy-extensions==1.0.0
# via mypy
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ multidict==6.0.4
# via
# -r requirements/runtime-deps.in
# yarl
mypy==1.4.1 ; implementation_name == "cpython"
mypy==1.5.0 ; implementation_name == "cpython"
# via -r requirements/test.in
mypy-extensions==1.0.0
# via mypy
Expand Down

0 comments on commit e481c05

Please sign in to comment.