Apply isort to tests

This commit is contained in:
Matthias
2020-09-28 19:43:15 +02:00
parent 253b7b763e
commit 9df366d943
31 changed files with 96 additions and 124 deletions

View File

@@ -1,12 +1,13 @@
# --- Do not remove these libs ---
from freqtrade.strategy.interface import IStrategy
from pandas import DataFrame
# --------------------------------
# Add your lib to import here
import talib.abstract as ta
from pandas import DataFrame
from freqtrade.strategy.interface import IStrategy
# --------------------------------
# This class is a sample. Feel free to customize it.
class TestStrategyLegacy(IStrategy):

View File

@@ -19,6 +19,7 @@ from tests.conftest import log_has, log_has_re
from .strats.default_strategy import DefaultStrategy
# Avoid to reinit the same object again and again
_STRATEGY = DefaultStrategy(config={})
_STRATEGY.dp = DataProvider({}, None, None)

View File

@@ -1,5 +1,5 @@
import pandas as pd
import numpy as np
import pandas as pd
from freqtrade.strategy import merge_informative_pair, timeframe_to_minutes