chore: fix line-lengths

This commit is contained in:
Matthias
2025-09-22 20:16:46 +02:00
parent 17202c6d29
commit 8b72e4f23e
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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
(