Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 2ad8db5

Browse files
Update to mypy 0.931 (python#6850)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent 5103f23 commit 2ad8db5

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy==0.930
1+
mypy==0.931
22
pytype==2022.01.05; platform_system != "Windows" and python_version < "3.10"
33
# must match .pre-commit-config.yaml
44
black==21.12b0

tests/stubtest_allowlists/py3_common.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ importlib.abc.MetaPathFinder.find_spec # Not defined on the actual class, but e
105105
importlib.abc.PathEntryFinder.find_spec # Not defined on the actual class, but expected to exist.
106106
importlib.machinery.ExtensionFileLoader.get_filename # Wrapped with _check_name decorator which changes runtime signature
107107
inspect.Parameter.empty # set as private marker _empty
108-
# inspect.Parameter: the Literal[enum_member] annotations are too complex for stubtest to parse
109-
inspect.Parameter.KEYWORD_ONLY
110-
inspect.Parameter.POSITIONAL_ONLY
111-
inspect.Parameter.POSITIONAL_OR_KEYWORD
112-
inspect.Parameter.VAR_KEYWORD
113-
inspect.Parameter.VAR_POSITIONAL
114108
inspect.Signature.empty # set as private marker _empty
115109
inspect.Signature.from_builtin # Removed in 3.11, can add if someone needs this
116110
inspect.Signature.from_function # Removed in 3.11, can add if someone needs this

0 commit comments

Comments
 (0)