File tree 5 files changed +1
-30
lines changed
tests/stubtest_allowlists 5 files changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ unicodedata.ucnhash_CAPI
175
175
unittest.mock.create_autospec
176
176
177
177
# Missing from stubs, found by removing --ignore-missing-stub
178
- __main__.T
179
178
_ast.Tuple.dims
180
179
_codecs.unregister
181
180
_collections_abc.AsyncIterable.__class_getitem__
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ collections.Mapping.get # Adding None to the Union messed up mypy
77
77
collections.Sequence.index # Supporting None in end is not mandatory
78
78
79
79
# Missing from stubs, found by removing --ignore-missing-stub
80
- __main__.T
81
80
_dummy_thread.RLock
82
81
_imp.source_hash
83
82
asyncio.BufferedProtocol.eof_received
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ collections.Mapping.get # Adding None to the Union messed up mypy
96
96
collections.Sequence.index # Supporting None in end is not mandatory
97
97
98
98
# Missing from stubs, found by removing --ignore-missing-stub
99
- __main__.T
100
99
_dummy_thread.RLock
101
100
_imp.source_hash
102
101
_thread._ExceptHookArgs.n_fields
Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ collections.Mapping.get # Adding None to the Union messed up mypy
111
111
collections.Sequence.index # Supporting None in end is not mandatory
112
112
113
113
# Missing from stubs, found by removing --ignore-missing-stub
114
- __main__.T
115
114
_ast.Tuple.dims
116
115
_collections_abc.AsyncIterable.__class_getitem__
117
116
_collections_abc.Awaitable.__class_getitem__
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ wsgiref.types # Doesn't exist, see comments in file
222
222
# ==========
223
223
# Allowlist entries that cannot or should not be fixed
224
224
# ==========
225
+ __main__.*
225
226
_pydecimal.* # See comments in file
226
227
ast.NodeVisitor.visit_\w+ # Methods are discovered dynamically, see #3796
227
228
# Weird special builtins that are typed as functions, but aren't functions
@@ -270,32 +271,6 @@ socket.[A-Z0-9_]+
270
271
(termios.[A-Z0-9_]+)?
271
272
272
273
# Missing from stubs, found by removing --ignore-missing-stub
273
- __main__.Error
274
- __main__.MISSING
275
- __main__.Missing
276
- __main__.Signature
277
- __main__.build_stubs
278
- __main__.get_allowlist_entries
279
- __main__.get_mypy_type_of_runtime_value
280
- __main__.get_stub
281
- __main__.get_typeshed_stdlib_modules
282
- __main__.is_dunder
283
- __main__.is_subtype_helper
284
- __main__.main
285
- __main__.maybe_strip_cls
286
- __main__.parse_options
287
- __main__.test_module
288
- __main__.test_stubs
289
- __main__.verify
290
- __main__.verify_decorator
291
- __main__.verify_funcitem
292
- __main__.verify_mypyfile
293
- __main__.verify_none
294
- __main__.verify_overloadedfuncdef
295
- __main__.verify_typealias
296
- __main__.verify_typeinfo
297
- __main__.verify_typevarexpr
298
- __main__.verify_var
299
274
_json.encode_basestring
300
275
_markupbase.ParserBase.parse_comment
301
276
_markupbase.ParserBase.parse_declaration
You can’t perform that action at this time.
0 commit comments