mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 00:53:56 +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,11 +1,11 @@
|
||||
from typing import List, Optional, TypedDict
|
||||
from typing import Optional, TypedDict
|
||||
|
||||
|
||||
class JwtAuthKey(TypedDict):
|
||||
key: str
|
||||
# See https://pyjwt.readthedocs.io/en/latest/algorithms.html for a list
|
||||
# of supported algorithms.
|
||||
algorithms: List[str]
|
||||
algorithms: list[str]
|
||||
|
||||
|
||||
class SAMLIdPConfigDict(TypedDict, total=False):
|
||||
@@ -22,8 +22,8 @@ class SAMLIdPConfigDict(TypedDict, total=False):
|
||||
auto_signup: bool
|
||||
display_name: str
|
||||
display_icon: str
|
||||
limit_to_subdomains: List[str]
|
||||
extra_attrs: List[str]
|
||||
limit_to_subdomains: list[str]
|
||||
extra_attrs: list[str]
|
||||
x509cert: str
|
||||
x509cert_path: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user