Ignore mypy not coping with decorated properties

This commit is contained in:
Peter Law
2020-07-24 20:25:55 +01:00
parent 07fbcd2262
commit 5e509814f7
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class ModuleMixin(SubModuleDictMixin):
def is_stub(self):
return False
@property
@property # type: ignore[misc]
@inference_state_method_cache()
def name(self):
return self._module_name_class(self, self.string_names[-1])