lint: type annotations, ignoring report for now

This commit is contained in:
Iain Learmonth 2024-07-12 15:35:04 +01:00
parent 2d549fb823
commit 6e691257f7
3 changed files with 4 additions and 2 deletions

View file

@ -79,7 +79,7 @@ class ProxyAutomation(TerraformAutomation):
raise NotImplementedError()
def enabled(self) -> bool:
return current_app.config.get(self.cloud_name.upper() + "_ENABLED", False)
return bool(current_app.config.get(self.cloud_name.upper() + "_ENABLED", False))
def tf_prehook(self) -> Optional[Any]: # pylint: disable=useless-return
return None