From be6b1f6f8399b05dcfcddcf63b573052b21beb96 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 8 Dec 2021 19:30:14 +0100 Subject: [PATCH] Import from enums, not submodules --- freqtrade/plugins/pairlist/ShuffleFilter.py | 2 +- tests/plugins/test_pairlist.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/plugins/pairlist/ShuffleFilter.py b/freqtrade/plugins/pairlist/ShuffleFilter.py index 55cf9938f..663bba49b 100644 --- a/freqtrade/plugins/pairlist/ShuffleFilter.py +++ b/freqtrade/plugins/pairlist/ShuffleFilter.py @@ -5,7 +5,7 @@ import logging import random from typing import Any, Dict, List -from freqtrade.enums.runmode import RunMode +from freqtrade.enums import RunMode from freqtrade.plugins.pairlist.IPairList import IPairList diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index ba8e6c3c3..0d0e43b0b 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -7,7 +7,7 @@ import pytest import time_machine from freqtrade.constants import AVAILABLE_PAIRLISTS -from freqtrade.enums.runmode import RunMode +from freqtrade.enums import RunMode from freqtrade.exceptions import OperationalException from freqtrade.persistence import Trade from freqtrade.plugins.pairlist.pairlist_helpers import expand_pairlist