Add necesary noqa statements

This commit is contained in:
Matthias 2023-02-22 07:20:10 +01:00
parent f8fa5bd969
commit 01d51aa979

View File

@ -1,13 +1,13 @@
import logging
from typing import Dict
import numpy as np
import pandas as pd
import numpy as np # noqa
import pandas as pd # noqa
import talib.abstract as ta
from pandas import DataFrame
from technical import qtpylib
from freqtrade.strategy import IntParameter, IStrategy, merge_informative_pair
from freqtrade.strategy import IntParameter, IStrategy, merge_informative_pair # noqa
logger = logging.getLogger(__name__)
@ -228,8 +228,7 @@ class FreqaiExampleHybridStrategy(IStrategy):
return dataframe
# flake8: noqa: C901
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: # noqa: C901
# User creates their own custom strat here. Present example is a supertrend
# based strategy.