mypy: Enable new error explicit-override.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-10-12 10:43:45 -07:00
committed by Anders Kaseorg
parent d257002ad8
commit a50eb2e809
223 changed files with 936 additions and 18 deletions

View File

@@ -1,4 +1,5 @@
from django.utils.translation import gettext as _
from typing_extensions import override
from zerver.lib.exceptions import ErrorCode, JsonableError
@@ -11,5 +12,6 @@ class BadEventQueueIdError(JsonableError):
self.queue_id: str = queue_id
@staticmethod
@override
def msg_format() -> str:
return _("Bad event queue ID: {queue_id}")