mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Update to mypy 0.931 (#6850)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user