From cd5c3c61a5b9e0a61962d3cc747cc89ea8bdff5a Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Wed, 9 Feb 2022 16:18:25 +0530 Subject: [PATCH] fix imports with isort --- tests/test_utils.py | 2 -- waybackpy/cli.py | 2 +- waybackpy/utils.py | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index aa651e3..98ee1bd 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,5 +1,3 @@ -import pytest - from waybackpy import __version__ from waybackpy.utils import DEFAULT_USER_AGENT diff --git a/waybackpy/cli.py b/waybackpy/cli.py index a742ca0..f8eb424 100644 --- a/waybackpy/cli.py +++ b/waybackpy/cli.py @@ -15,10 +15,10 @@ from . import __version__ from .availability_api import WaybackMachineAvailabilityAPI from .cdx_api import WaybackMachineCDXServerAPI +from .exceptions import ArchiveNotInAvailabilityAPIResponse from .save_api import WaybackMachineSaveAPI from .utils import DEFAULT_USER_AGENT from .wrapper import Url -from .exceptions import ArchiveNotInAvailabilityAPIResponse def echo_availability_api( diff --git a/waybackpy/utils.py b/waybackpy/utils.py index 65f7dec..3890a8f 100644 --- a/waybackpy/utils.py +++ b/waybackpy/utils.py @@ -2,8 +2,6 @@ Utility functions and shared variables like DEFAULT_USER_AGENT are here. """ -import requests - from . import __version__ DEFAULT_USER_AGENT: str = (