lint: add back "useless" return to tf_prehook

This commit is contained in:
Iain Learmonth 2022-06-17 14:26:22 +01:00
parent 3bb1a84480
commit db0233691c

View file

@ -134,10 +134,11 @@ class ProxyAutomation(TerraformAutomation):
def import_state(self, state: Any) -> None:
raise NotImplementedError()
def tf_prehook(self) -> Optional[Any]:
def tf_prehook(self) -> Optional[Any]: # pylint: disable=useless-return
self.create_missing_proxies()
self.deprecate_orphaned_proxies()
self.destroy_expired_proxies()
return None
def tf_posthook(self, *, prehook_result: Any = None) -> None:
self.import_state(self.tf_show())