From fbcd260bf6c88c4dac76177c74f3e78632f34faa Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Sat, 26 Feb 2022 07:14:29 -0600 Subject: [PATCH] flake8 import issues --- freqtrade/exchange/gateio.py | 2 +- tests/exchange/test_gateio.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/freqtrade/exchange/gateio.py b/freqtrade/exchange/gateio.py index b0e17ce5c..1c5b43cb7 100644 --- a/freqtrade/exchange/gateio.py +++ b/freqtrade/exchange/gateio.py @@ -1,6 +1,6 @@ """ Gate.io exchange subclass """ import logging -from typing import Dict, List, Optional, Tuple +from typing import Dict, List, Tuple from freqtrade.enums import MarginMode, TradingMode from freqtrade.exceptions import OperationalException diff --git a/tests/exchange/test_gateio.py b/tests/exchange/test_gateio.py index 79e8d1b7e..6f7862909 100644 --- a/tests/exchange/test_gateio.py +++ b/tests/exchange/test_gateio.py @@ -1,11 +1,8 @@ -from unittest.mock import MagicMock, PropertyMock - import pytest from freqtrade.exceptions import OperationalException from freqtrade.exchange import Gateio from freqtrade.resolvers.exchange_resolver import ExchangeResolver -from tests.conftest import get_patched_exchange def test_validate_order_types_gateio(default_conf, mocker):