mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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,7 +1,7 @@
|
||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
||||
# mypy: disable-error-code="explicit-override"
|
||||
|
||||
from typing import List, TypedDict, Union
|
||||
from typing import TypedDict, Union
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import models
|
||||
@@ -133,7 +133,7 @@ class APIScheduledStreamMessageDict(TypedDict):
|
||||
|
||||
class APIScheduledDirectMessageDict(TypedDict):
|
||||
scheduled_message_id: int
|
||||
to: List[int]
|
||||
to: list[int]
|
||||
type: str
|
||||
content: str
|
||||
rendered_content: str
|
||||
|
||||
Reference in New Issue
Block a user