From f7922fd96506da74ee73a568112173287af13778 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 04:40:37 +0000 Subject: [PATCH] refactor: remove reimported module A module or an import name is reimported multiple times. This can be confusing and should be fixed. Please refer to the occurrence message to see the reimported name and the line number where it was imported for the first time. --- misskaty/plugins/dev.py | 1 - misskaty/plugins/misc_tools.py | 1 - 2 files changed, 2 deletions(-) diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py index 1954af01..743250b3 100644 --- a/misskaty/plugins/dev.py +++ b/misskaty/plugins/dev.py @@ -15,7 +15,6 @@ from time import time from typing import Any, Optional, Tuple import aiohttp -import contextlib import cloudscraper import requests import platform diff --git a/misskaty/plugins/misc_tools.py b/misskaty/plugins/misc_tools.py index 83b01949..da13f4e0 100644 --- a/misskaty/plugins/misc_tools.py +++ b/misskaty/plugins/misc_tools.py @@ -66,7 +66,6 @@ __HELP__ = """ def remove_html_tags(text): """Remove html tags from a string""" - import re clean = re.compile("<.*?>") return re.sub(clean, "", text)