ruff: Fix PIE790 Unnecessary `pass` statement.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-01-02 19:44:18 -08:00 committed by Tim Abbott
parent d9f2f60f4b
commit 46cdcd3f33
4 changed files with 0 additions and 7 deletions

View File

@ -75,8 +75,6 @@ class UnspecifiedValue:
currently an internal implementation detail of the REQ class?
"""
pass
class EditHistoryEvent(TypedDict, total=False):
"""

View File

@ -3303,14 +3303,12 @@ class AppleAuthBackendNativeFlowTest(AppleAuthMixin, SocialAuthBase):
The desktop app doesn't use the native flow currently and the desktop app flow in its
current form happens in the browser, thus only the web flow is viable there.
"""
pass
def 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.
"""
pass
class GenericOpenIdConnectTest(SocialAuthBase):

View File

@ -127,8 +127,6 @@ class InterruptConsumeError(Exception):
of the current event and normally continue the work of the queue.
"""
pass
class WorkerDeclarationError(Exception):
pass

View File

@ -2237,7 +2237,6 @@ class SAMLDocument:
"""
Returns a list of the issuers of the SAML document.
"""
pass
class SAMLRequest(SAMLDocument):