mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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 List, TypeVar
|
||||
from typing import TypeVar
|
||||
|
||||
from django.db import models
|
||||
from django_stubs_ext import ValuesQuerySet
|
||||
@@ -9,7 +9,7 @@ RowT = TypeVar("RowT")
|
||||
|
||||
def query_for_ids(
|
||||
query: ValuesQuerySet[ModelT, RowT],
|
||||
user_ids: List[int],
|
||||
user_ids: list[int],
|
||||
field: str,
|
||||
) -> ValuesQuerySet[ModelT, RowT]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user