From fceccd217cbbdadb7742442d8827df43ef58a032 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 19 Jul 2022 16:27:05 +0100 Subject: [PATCH] Upgrade mypy to 0.971 (#8332) --- requirements-tests.txt | 2 +- tests/stubtest_allowlists/py311.txt | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/requirements-tests.txt b/requirements-tests.txt index fd82a4b2a..5ad62cfc8 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,4 +1,4 @@ -mypy==0.960 +mypy==0.971 pytype==2022.6.23; platform_system != "Windows" # must match .pre-commit-config.yaml black==22.6.0 diff --git a/tests/stubtest_allowlists/py311.txt b/tests/stubtest_allowlists/py311.txt index 83f66431b..bd84cff97 100644 --- a/tests/stubtest_allowlists/py311.txt +++ b/tests/stubtest_allowlists/py311.txt @@ -119,7 +119,6 @@ typing.SupportsIndex.__init__ typing.SupportsInt.__init__ typing.SupportsRound.__init__ wsgiref.types.ErrorStream.__init__ -wsgiref.types.FileWrapper.__call__ wsgiref.types.FileWrapper.__init__ wsgiref.types.InputStream.__init__ wsgiref.types.StartResponse.__init__ @@ -172,13 +171,6 @@ typing._TypedDict.values # White lies around defaults dataclasses.KW_ONLY -# https://github.com/python/mypy/issues/12819 (... in runtime default) -wsgiref.types.InputStream.read -wsgiref.types.InputStream.readline -wsgiref.types.InputStream.readlines -wsgiref.types.StartResponse.__call__ -wsgiref.types._Readable.read - # https://github.com/python/mypy/issues/13114 wsgiref.types.WSGIEnvironment