mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +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 Any, Dict
|
||||
from typing import Any
|
||||
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
@@ -7,7 +7,7 @@ from zerver.lib.exceptions import JsonableError
|
||||
from zerver.models import UserProfile
|
||||
|
||||
|
||||
def process_zcommands(content: str, user_profile: UserProfile) -> Dict[str, Any]:
|
||||
def process_zcommands(content: str, user_profile: UserProfile) -> dict[str, Any]:
|
||||
def change_mode_setting(
|
||||
setting_name: str, switch_command: str, setting: str, setting_value: int
|
||||
) -> str:
|
||||
|
||||
Reference in New Issue
Block a user