From a0b7e4d4c8f19ed1aa780a056813b436b4e52e19 Mon Sep 17 00:00:00 2001 From: smarmau <42020297+smarmau@users.noreply.github.com> Date: Thu, 29 Sep 2022 21:40:08 +1000 Subject: [PATCH] Update profit_limit.py make flake8 compliant --- freqtrade/plugins/protections/profit_limit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freqtrade/plugins/protections/profit_limit.py b/freqtrade/plugins/protections/profit_limit.py index 5ffb5bb5c..ddf165282 100644 --- a/freqtrade/plugins/protections/profit_limit.py +++ b/freqtrade/plugins/protections/profit_limit.py @@ -1,4 +1,3 @@ - import logging from datetime import datetime, timedelta from typing import Any, Dict, Optional @@ -21,7 +20,7 @@ class ProfitLimit(IProtection): self._trade_limit = protection_config.get('trade_limit', 1) self._required_profit = protection_config.get('profit_limit', 1.0) - + def short_desc(self) -> str: """ Short method description - used for startup-messages