python: Strip leading and trailing spaces from docstrings.

This is enforced by Black ≥ 21.4b0.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-05-07 17:36:30 -07:00
committed by Tim Abbott
parent ad0be6cea1
commit d0c6f4f400
14 changed files with 26 additions and 26 deletions

View File

@@ -385,7 +385,7 @@ class EmailAuthBackend(ZulipAuthMixin):
realm: Realm,
return_data: Optional[Dict[str, Any]] = None,
) -> Optional[UserProfile]:
""" Authenticate a user based on email address as the user name. """
"""Authenticate a user based on email address as the user name."""
if not password_auth_enabled(realm):
if return_data is not None:
return_data["password_auth_disabled"] = True