From 8b72e4f23e02cc85f1a7559bcd1a800df34428f4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 22 Sep 2025 20:16:46 +0200 Subject: [PATCH] chore: fix line-lengths --- freqtrade/plugins/pairlist/DelistFilter.py | 3 ++- tests/plugins/test_pairlist.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/freqtrade/plugins/pairlist/DelistFilter.py b/freqtrade/plugins/pairlist/DelistFilter.py index d208d7a3e..d4a3ce90b 100644 --- a/freqtrade/plugins/pairlist/DelistFilter.py +++ b/freqtrade/plugins/pairlist/DelistFilter.py @@ -86,7 +86,8 @@ class DelistFilter(IPairList): if remove_pair: self.log_once( - f"Removed {pair} from whitelist, because it will be delisted on {format_date(delist_date)}.", + f"Removed {pair} from whitelist, because it will be delisted on " + f"{format_date(delist_date)}.", logger.info, ) return False diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index ba567ff07..5e64a5d03 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -1840,7 +1840,8 @@ def test_spreadfilter_invalid_data(mocker, default_conf, markets, tickers, caplo ), # ConfigurationError expected ( {"method": "DelistFilter", "max_days_from_now": 1}, - "[{'DelistFilter': 'DelistFilter - Filtering pairs that will be delisted in the next 1 days.'}]", + "[{'DelistFilter': 'DelistFilter - Filtering pairs that will be delisted in the " + "next 1 days.'}]", None, ), # ConfigurationError expected (