ci: add flake8

This commit is contained in:
Iain Learmonth 2022-05-16 13:29:48 +01:00
parent 014596d271
commit dd501a6e4e
32 changed files with 170 additions and 171 deletions

View file

@ -29,7 +29,7 @@ class AlarmProxyHTTPStatusAutomation(BaseAutomation):
def automate(self, full: bool = False) -> Tuple[bool, str]:
proxies = Proxy.query.filter(
Proxy.destroyed == None
Proxy.destroyed.is_(None)
)
for proxy in proxies:
try: