Bump black from 22.12.0 to 23.1.0 (#15103)

This commit is contained in:
dependabot[bot] 2023-02-22 15:29:09 -05:00 committed by GitHub
parent 4ed08ff72e
commit 9bb2eac719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
117 changed files with 108 additions and 218 deletions

View file

@ -815,7 +815,6 @@ class AuthHandler:
now_ms = self._clock.time_msec()
if existing_token.expiry_ts is not None and existing_token.expiry_ts < now_ms:
raise SynapseError(
HTTPStatus.FORBIDDEN,
"The supplied refresh token has expired",
@ -2259,7 +2258,6 @@ class PasswordAuthProvider:
async def on_logged_out(
self, user_id: str, device_id: Optional[str], access_token: str
) -> None:
# call all of the on_logged_out callbacks
for callback in self.on_logged_out_callbacks:
try: