lint: type annotations, ignoring report for now
This commit is contained in:
parent
2d549fb823
commit
6e691257f7
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue