mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
ruff: Fix UP006 Use list instead of List for type annotation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
c2214b3904
commit
e08a24e47f
@@ -1,4 +1,4 @@
|
||||
from typing import Iterable, Optional, Tuple
|
||||
from typing import Iterable, Optional
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import transaction
|
||||
@@ -78,7 +78,7 @@ def create_internal_realm() -> None:
|
||||
|
||||
def create_users(
|
||||
realm: Realm,
|
||||
name_list: Iterable[Tuple[str, str]],
|
||||
name_list: Iterable[tuple[str, str]],
|
||||
tos_version: Optional[str] = None,
|
||||
bot_type: Optional[int] = None,
|
||||
bot_owner: Optional[UserProfile] = None,
|
||||
|
||||
Reference in New Issue
Block a user