Update to mypy 0.931 (#6850)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Sebastian Rittau
2022-01-07 19:21:10 +01:00
committed by GitHub
parent 5103f23de3
commit 2ad8db51ad
2 changed files with 1 additions and 7 deletions

View File

@@ -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

View File

@@ -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