diff --git a/freqtrade/freqai/RL/BaseReinforcementLearningModel.py b/freqtrade/freqai/RL/BaseReinforcementLearningModel.py index 13882660e..8987c35fe 100644 --- a/freqtrade/freqai/RL/BaseReinforcementLearningModel.py +++ b/freqtrade/freqai/RL/BaseReinforcementLearningModel.py @@ -348,7 +348,7 @@ class BaseReinforcementLearningModel(IFreqaiModel): sets a custom reward based on profit and trade duration. """ - def calculate_reward(self, action: int) -> float: + def calculate_reward(self, action: int) -> float: # noqa: C901 """ An example reward function. This is the one function that users will likely wish to inject their own creativity into. diff --git a/setup.cfg b/setup.cfg index 8a63004a7..60ec8a75f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -49,5 +49,3 @@ exclude = __pycache__, .eggs, user_data, -per-file-ignores = - freqtrade/freqai/RL/BaseReinforcementLearningModel.py:C901