From e481c05b8ec8d6ae73a6d1193779b711ef062278 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:10:49 +0000 Subject: [PATCH] Bump mypy from 1.4.1 to 1.5.0 (#7512) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0.
Commits

[![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) ---
Dependabot commands and options
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 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)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull --- .mypy.ini | 3 +++ requirements/constraints.txt | 2 +- requirements/dev.txt | 6 ++---- requirements/lint.txt | 2 +- requirements/test.txt | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.mypy.ini b/.mypy.ini index 43fcb3c5797..1841dd38a3e 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -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 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 7ac0bec68d2..e03f3034086 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -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 diff --git a/requirements/dev.txt b/requirements/dev.txt index cf37f27211f..53ab311ca19 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -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 diff --git a/requirements/lint.txt b/requirements/lint.txt index 23bd337ba9b..f26096b6e4b 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -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 diff --git a/requirements/test.txt b/requirements/test.txt index 7934b9020c8..849a01e9d4c 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -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