From 4032cd8d77ea67c4a37f294e90ebeccf752b3714 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 1 Feb 2026 09:13:22 +0000 Subject: [PATCH] fix(rpc): resolve F541 lint error in telegram.py Remove unnecessary f-string prefix in `_health` method of `freqtrade/rpc/telegram.py` to fix `ruff` linting failure (F541). This was causing CI failures in pre-commit checks. Co-authored-by: Corax-CoLAB <239841157+Corax-CoLAB@users.noreply.github.com> --- freqtrade/rpc/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 4959c425c..1fb08e1d3 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -1991,7 +1991,7 @@ class Telegram(RPCHandler): Shows the last process timestamp """ health = self._rpc.health() - message = f"💓 *System Health*\n" + message = "💓 *System Health*\n" message += f"⏱️ *Last process:* `{health['last_process_loc']}`\n" message += f"🚀 *Bot start:* `{health['bot_start_loc']}`\n" message += f"🔄 *Last restart:* `{health['bot_startup_loc']}`"