mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +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
@@ -1,6 +1,7 @@
|
||||
from typing import Any
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
from typing_extensions import override
|
||||
|
||||
from zerver.lib.onboarding import create_if_missing_realm_internal_bots
|
||||
|
||||
@@ -13,6 +14,7 @@ These are normally created when the realm is, so this should be a no-op
|
||||
except when upgrading to a version that adds a new realm internal bot.
|
||||
"""
|
||||
|
||||
@override
|
||||
def handle(self, *args: Any, **options: Any) -> None:
|
||||
create_if_missing_realm_internal_bots()
|
||||
# create_users is idempotent -- it's a no-op when a given email
|
||||
|
||||
Reference in New Issue
Block a user