Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ruff: Fix PIE790 Unnecessary `pass` statement.
Anders Kaseorg46cdcd3f3327
diff --git a/zerver/lib/types.py b/zerver/lib/types.pyindex 22c1e2a17de..94e5b23ec93 100644--- a/zerver/lib/types.py+++ b/zerver/lib/types.py@@ -75,8 +75,6 @@ class UnspecifiedValue:currently an internal implementation detail of the REQ class?"""- pass-class EditHistoryEvent(TypedDict, total=False):"""diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.pyindex 6e1286e75ce..ef03d356e24 100644--- a/zerver/tests/test_auth_backends.py+++ b/zerver/tests/test_auth_backends.py@@ -3303,14 +3303,12 @@ class AppleAuthBackendNativeFlowTest(AppleAuthMixin, SocialAuthBase):The desktop app doesn't use the native flow currently and the desktop app flow in itscurrent form happens in the browser, thus only the web flow is viable there."""- passdef test_social_auth_no_key(self) -> None:"""The basic validation of server configuration is handled on the/login/social/apple/ endpoint which isn't even a part of the native flow."""- passclass GenericOpenIdConnectTest(SocialAuthBase):diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex 70103f790c9..16af7408071 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -127,8 +127,6 @@ class InterruptConsumeError(Exception):of the current event and normally continue the work of the queue."""- pass-class WorkerDeclarationError(Exception):passdiff --git a/zproject/backends.py b/zproject/backends.pyindex c5ed1d3ce5a..4b57b26e1b2 100644--- a/zproject/backends.py+++ b/zproject/backends.py@@ -2237,7 +2237,6 @@ class SAMLDocument:"""Returns a list of the issuers of the SAML document."""- passclass SAMLRequest(SAMLDocument):