ruff: Fix PLC0414 Import alias does not rename original package.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-12-04 11:51:44 -08:00 committed by Tim Abbott
parent 9a89a52086
commit e634e3276a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from typing import Iterable, List, TypedDict
from django.db import transaction
from zerver.lib import retention as retention
from zerver.lib import retention
from zerver.lib.retention import move_messages_to_archive
from zerver.lib.stream_subscription import get_active_subscriptions_for_stream_id
from zerver.models import Message, Realm, UserMessage, UserProfile

View File

@ -46,7 +46,7 @@ from markdown.extensions import codehilite, nl2br, sane_lists, tables
from soupsieve import escape as css_escape
from tlds import tld_set
from zerver.lib import mention as mention
from zerver.lib import mention
from zerver.lib.cache import cache_with_key
from zerver.lib.camo import get_camo_url
from zerver.lib.emoji import EMOTICON_RE, codepoint_to_name, name_to_codepoint, translate_emoticons