mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
mypy: Enable new error explicit-override.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
d257002ad8
commit
a50eb2e809
@@ -35,6 +35,7 @@ import tornado.ioloop
|
||||
from django.conf import settings
|
||||
from django.utils.translation import gettext as _
|
||||
from tornado import autoreload
|
||||
from typing_extensions import override
|
||||
|
||||
from version import API_FEATURE_LEVEL, ZULIP_MERGE_BASE, ZULIP_VERSION
|
||||
from zerver.lib.exceptions import JsonableError
|
||||
@@ -157,6 +158,7 @@ class ClientDescriptor:
|
||||
linkifier_url_template=self.linkifier_url_template,
|
||||
)
|
||||
|
||||
@override
|
||||
def __repr__(self) -> str:
|
||||
return f"ClientDescriptor<{self.event_queue.id}>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user