lint: add back "useless" return to tf_prehook
This commit is contained in:
parent
3bb1a84480
commit
db0233691c
1 changed files with 2 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue