Ignore mypy not coping with decorated properties

This commit is contained in:
Peter Law committed 2020-07-24 20:25:55 +01:00
1 parent 07fbcd2262
commit 5e509814f7
4 files changed
+5 -5

No files matched your search

+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])