Skip to content

Commit e481c05

Browse files
Bump mypy from 1.4.1 to 1.5.0 (#7512)
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull <[email protected]>
1 parent 9988b62 commit e481c05

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.mypy.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ disallow_subclassing_any = True
1010
disallow_untyped_calls = True
1111
disallow_untyped_decorators = True
1212
disallow_untyped_defs = True
13+
# TODO(PY312): explicit-override
1314
enable_error_code = ignore-without-code, possibly-undefined, redundant-expr, redundant-self, truthy-bool, truthy-iterable, unused-awaitable
15+
extra_checks = True
1416
implicit_reexport = False
1517
no_implicit_optional = True
1618
pretty = True
1719
show_column_numbers = True
1820
show_error_codes = True
21+
show_error_code_links = True
1922
strict_equality = True
2023
warn_incomplete_stub = True
2124
warn_redundant_casts = True

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ multidict==6.0.4
111111
# -r requirements/multidict.in
112112
# -r requirements/runtime-deps.in
113113
# yarl
114-
mypy==1.4.1 ; implementation_name == "cpython"
114+
mypy==1.5.0 ; implementation_name == "cpython"
115115
# via -r requirements/lint.in
116116
mypy-extensions==1.0.0
117117
# via mypy

requirements/dev.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,8 @@ multidict==6.0.4
108108
# via
109109
# -r requirements/runtime-deps.in
110110
# yarl
111-
mypy==1.4.1 ; implementation_name == "cpython"
112-
# via
113-
# -r requirements/lint.in
114-
# -r requirements/test.in
111+
mypy==1.5.0 ; implementation_name == "cpython"
112+
# via -r requirements/lint.in
115113
mypy-extensions==1.0.0
116114
# via mypy
117115
nodeenv==1.8.0

requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ identify==2.5.26
2222
# via pre-commit
2323
iniconfig==2.0.0
2424
# via pytest
25-
mypy==1.4.1 ; implementation_name == "cpython"
25+
mypy==1.5.0 ; implementation_name == "cpython"
2626
# via -r requirements/lint.in
2727
mypy-extensions==1.0.0
2828
# via mypy

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ multidict==6.0.4
5555
# via
5656
# -r requirements/runtime-deps.in
5757
# yarl
58-
mypy==1.4.1 ; implementation_name == "cpython"
58+
mypy==1.5.0 ; implementation_name == "cpython"
5959
# via -r requirements/test.in
6060
mypy-extensions==1.0.0
6161
# via mypy

0 commit comments

Comments
 (0)