lint: various non-semantic fixes

bumping fail-under for pylint to 9.72
This commit is contained in:
Iain Learmonth 2022-06-23 13:42:45 +01:00
parent 7a54e4ea96
commit f6452cb4fa
14 changed files with 47 additions and 29 deletions

View file

@ -56,7 +56,7 @@ class BridgeAutomation(TerraformAutomation):
bridge.destroy()
db.session.commit()
def tf_prehook(self) -> Optional[Any]:
def tf_prehook(self) -> Optional[Any]: # pylint: disable=useless-return
self.create_missing()
self.destroy_expired()
return None