From 7ab425077c63c3a6d5c361672d75bd09361f1bc5 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 9 Jun 2022 12:16:44 +0000 Subject: [PATCH] Remove unused imports --- plugins/admin.py | 1 - plugins/strategy.py | 1 - plugins/weapon.py | 1 - utils/aiobrowser.py | 1 - 4 files changed, 4 deletions(-) diff --git a/plugins/admin.py b/plugins/admin.py index d9d71e8b..d5c5f991 100644 --- a/plugins/admin.py +++ b/plugins/admin.py @@ -6,7 +6,6 @@ from telegram.ext import CallbackContext from logger import Log from plugins.base import BasePlugins -from service import BaseService def bot_admins_only(func: Callable) -> Callable: # noqa diff --git a/plugins/strategy.py b/plugins/strategy.py index 9dcb1519..8e404a46 100644 --- a/plugins/strategy.py +++ b/plugins/strategy.py @@ -9,7 +9,6 @@ from metadata.shortname import roleToName from model.helpers import url_to_file from plugins.base import BasePlugins from plugins.errorhandler import conversation_error_handler -from service import BaseService class Strategy(BasePlugins): diff --git a/plugins/weapon.py b/plugins/weapon.py index 6837800d..760c8fba 100644 --- a/plugins/weapon.py +++ b/plugins/weapon.py @@ -10,7 +10,6 @@ from metadata.shortname import weaponToName from model.helpers import url_to_file from plugins.base import BasePlugins from plugins.errorhandler import conversation_error_handler -from service import BaseService class Weapon(BasePlugins): diff --git a/utils/aiobrowser.py b/utils/aiobrowser.py index 14147e32..7b639792 100644 --- a/utils/aiobrowser.py +++ b/utils/aiobrowser.py @@ -1,5 +1,4 @@ import asyncio -import os from typing import Optional from playwright.async_api import async_playwright, Browser, Playwright