mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +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,5 +1,5 @@
|
||||
import os
|
||||
from typing import List, Union
|
||||
from typing import Union
|
||||
|
||||
from django.conf import settings
|
||||
from django.conf.urls import include
|
||||
@@ -632,7 +632,7 @@ i18n_urls = [
|
||||
]
|
||||
|
||||
# Make a copy of i18n_urls so that they appear without prefix for english
|
||||
urls: List[Union[URLPattern, URLResolver]] = list(i18n_urls)
|
||||
urls: list[Union[URLPattern, URLResolver]] = list(i18n_urls)
|
||||
|
||||
# Include the dual-use patterns twice
|
||||
urls += [
|
||||
|
Reference in New Issue
Block a user