From 3d334efde72919a7564e0300dd3b16b8226f5fa4 Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Tue, 23 Apr 2024 18:15:24 -0700 Subject: [PATCH] style: lint --- client/securedrop_client/config.py | 2 +- client/stubs/qubesdb.pyi | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/securedrop_client/config.py b/client/securedrop_client/config.py index 3033fed7c..2cba5a690 100644 --- a/client/securedrop_client/config.py +++ b/client/securedrop_client/config.py @@ -12,7 +12,7 @@ def try_qubesdb() -> Generator: """Minimal context manager around QubesDB() → QubesDB.close() when available.""" - db: Union[bool, "QubesDB"] = False + db: Union[bool, "QubesDB"] = False try: from qubesdb import QubesDB diff --git a/client/stubs/qubesdb.pyi b/client/stubs/qubesdb.pyi index 9e2fe9a50..e8f4f26c5 100644 --- a/client/stubs/qubesdb.pyi +++ b/client/stubs/qubesdb.pyi @@ -1,7 +1,6 @@ # See , # generated using stubgen class Error(RuntimeError): ... - class DisconnectedError(Error): ... class QubesDB: