From 244f5da156a1e4bde6ea406ed2a6422c906fcc9a Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Thu, 5 Jan 2023 11:13:20 -0800 Subject: [PATCH] chore: remove unnecessary mypy "ignore" pragma After #1611, specifically 64293d1, this "ignore" pragma is unnecessary and therefore invalid in strict mode. It was introduced in #1486, which was reviewed and merged while #1611 was still in review. --- securedrop_client/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securedrop_client/queue.py b/securedrop_client/queue.py index 7fe7f3166..dc702febf 100644 --- a/securedrop_client/queue.py +++ b/securedrop_client/queue.py @@ -220,7 +220,7 @@ def process(self) -> None: self._clear() return - if isinstance(self.current_job, PauseQueueJob): # type: ignore + if isinstance(self.current_job, PauseQueueJob): self.paused.emit() with self.condition_add_or_remove_job: self.current_job = None