Add _TemporaryFileWrapper (#4559)

This commit is contained in:
Rune Tynan
2021-01-23 10:54:31 -05:00
committed by GitHub
parent 58032a7018
commit 6870caf79c
2 changed files with 35 additions and 0 deletions

View File

@@ -455,6 +455,8 @@ builtins.quit
builtins.reveal_locals
builtins.reveal_type
collections.abc.* # Types are re-exported from _collections_abc, so errors should be fixed there
# Dynamically specified by __getattr__, and thus don't exist on the class
tempfile._TemporaryFileWrapper.[\w_]+
# Various classes in typing aren't types at runtime. In addition, mypy thinks some special forms are tautologically defined.
typing.[A-Z]\w+
# We can't distinguish not having a default value from having a default value of inspect.Parameter.empty