diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-05-31 07:18:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 07:18:29 -0400 |
commit | c01343de43b86eb4a6c055547369d07c198a435f (patch) | |
tree | af7939b9a5ee9990f469f8a143eb2e3fc19ff3be /synapse/federation | |
parent | Merge branch 'release-v1.85' into develop (diff) | |
download | synapse-c01343de43b86eb4a6c055547369d07c198a435f.tar.xz |
Add stricter mypy options (#15694)
Enable warn_unused_configs, strict_concatenate, disallow_subclassing_any, and disallow_incomplete_defs.
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index e17cb840de..149351dda0 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -515,7 +515,7 @@ class FederationServer(FederationBase): logger.error( "Failed to handle PDU %s", event_id, - exc_info=(f.type, f.value, f.getTracebackObject()), # type: ignore + exc_info=(f.type, f.value, f.getTracebackObject()), ) return {"error": str(e)} @@ -1247,7 +1247,7 @@ class FederationServer(FederationBase): logger.error( "Failed to handle PDU %s", event.event_id, - exc_info=(f.type, f.value, f.getTracebackObject()), # type: ignore + exc_info=(f.type, f.value, f.getTracebackObject()), ) received_ts = await self.store.remove_received_event_from_staging( |