mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ruff: Fix UP035 Import from collections.abc
, typing
instead.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
531b34cb4c
commit
0fa5e7f629
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Iterable
|
||||
from collections.abc import Iterable
|
||||
from typing import Any
|
||||
|
||||
from django.core.management.base import CommandParser
|
||||
from typing_extensions import override
|
||||
|
@@ -2,8 +2,9 @@ import itertools
|
||||
import os
|
||||
import random
|
||||
from collections import defaultdict
|
||||
from collections.abc import Mapping, Sequence
|
||||
from datetime import datetime, timedelta
|
||||
from typing import Any, Mapping, Sequence
|
||||
from typing import Any
|
||||
|
||||
import bmemcached
|
||||
import orjson
|
||||
|
@@ -1,5 +1,6 @@
|
||||
import os
|
||||
from typing import Any, Iterator
|
||||
from collections.abc import Iterator
|
||||
from typing import Any
|
||||
|
||||
import orjson
|
||||
from django.core.management.base import CommandParser
|
||||
|
@@ -1,6 +1,6 @@
|
||||
from collections.abc import Callable
|
||||
from datetime import datetime
|
||||
from functools import wraps
|
||||
from typing import Callable
|
||||
|
||||
from dateutil.tz import tzlocal
|
||||
from django.core.management.commands.runserver import Command as DjangoCommand
|
||||
|
Reference in New Issue
Block a user