flake warnings (#304)

This commit is contained in:
Bruno Cabral
2022-12-12 02:44:27 -08:00
committed by GitHub
parent f10a3f1d1a
commit fb4109bd77
67 changed files with 252 additions and 248 deletions

View File

@@ -46,7 +46,7 @@ def get_cli_path() -> str:
return cli_path
else:
return shutil.which(CLI_NAME)
def list_updates(logger: logging.Logger) -> List[PackageUpdate]:
cli_path = get_cli_path()
@@ -94,7 +94,7 @@ class UpdateCheck(QThread):
self._notify_updates()
try:
os.remove(TRAY_CHECK_FILE)
except:
except Exception:
traceback.print_exc()
else:
self.sleep(self.check_interval)