diff --git a/requirements-tests.txt b/requirements-tests.txt index d20514296..bc574e18b 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,4 +1,4 @@ -mypy==0.930 +mypy==0.931 pytype==2022.01.05; platform_system != "Windows" and python_version < "3.10" # must match .pre-commit-config.yaml black==21.12b0 diff --git a/tests/stubtest_allowlists/py3_common.txt b/tests/stubtest_allowlists/py3_common.txt index fbeea97b5..691e882ad 100644 --- a/tests/stubtest_allowlists/py3_common.txt +++ b/tests/stubtest_allowlists/py3_common.txt @@ -105,12 +105,6 @@ importlib.abc.MetaPathFinder.find_spec # Not defined on the actual class, but e importlib.abc.PathEntryFinder.find_spec # Not defined on the actual class, but expected to exist. importlib.machinery.ExtensionFileLoader.get_filename # Wrapped with _check_name decorator which changes runtime signature inspect.Parameter.empty # set as private marker _empty -# inspect.Parameter: the Literal[enum_member] annotations are too complex for stubtest to parse -inspect.Parameter.KEYWORD_ONLY -inspect.Parameter.POSITIONAL_ONLY -inspect.Parameter.POSITIONAL_OR_KEYWORD -inspect.Parameter.VAR_KEYWORD -inspect.Parameter.VAR_POSITIONAL inspect.Signature.empty # set as private marker _empty inspect.Signature.from_builtin # Removed in 3.11, can add if someone needs this inspect.Signature.from_function # Removed in 3.11, can add if someone needs this