mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
use function level noqa ignore
This commit is contained in:
parent
4fc0edb8b7
commit
154b6711b3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user