diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-03-13 17:05:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 17:05:57 +0000 |
commit | e161103b46e9e85b95575ad12b34eb7ec570e0a4 (patch) | |
tree | 968de33935c76f2d2e0c560819684e7859a067f6 /synapse/handlers/auth.py | |
parent | Bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2 (#16960) (diff) | |
download | synapse-e161103b46e9e85b95575ad12b34eb7ec570e0a4.tar.xz |
Bump mypy from 1.5.1 to 1.8.0 (#16901)
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r-- | synapse/handlers/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index f233f1b034..a1fab99f6b 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -2185,7 +2185,7 @@ class PasswordAuthProvider: # result is always the right type, but as it is 3rd party code it might not be if not isinstance(result, tuple) or len(result) != 2: - logger.warning( + logger.warning( # type: ignore[unreachable] "Wrong type returned by module API callback %s: %s, expected" " Optional[Tuple[str, Optional[Callable]]]", callback, @@ -2248,7 +2248,7 @@ class PasswordAuthProvider: # result is always the right type, but as it is 3rd party code it might not be if not isinstance(result, tuple) or len(result) != 2: - logger.warning( + logger.warning( # type: ignore[unreachable] "Wrong type returned by module API callback %s: %s, expected" " Optional[Tuple[str, Optional[Callable]]]", callback, |