1
0
forked from VimPlug/jedi

Ignore mypy not coping with decorated properties

This commit is contained in:
Peter Law
2020-07-24 15:50:24 +01:00
parent 07fbcd2262
commit 5e509814f7
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -120,14 +120,14 @@ class InferenceState(object):
debug.dbg('execute result: %s in %s', value_set, value)
return value_set
@property
@property # type: ignore[misc]
@inference_state_function_cache()
def builtins_module(self):
module_name = 'builtins'
builtins_module, = self.import_module((module_name,), sys_path=())
return builtins_module
@property
@property # type: ignore[misc]
@inference_state_function_cache()
def typing_module(self):
typing_module, = self.import_module(('typing',))