From bd3aa2c3a78f35089fe07340ee511ef2826e3dac Mon Sep 17 00:00:00 2001 From: elpekenin Date: Thu, 6 Nov 2025 15:33:45 +0100 Subject: [PATCH] fix lint error --- components/taghints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/taghints.py b/components/taghints.py index 64bd1b3..5c91db2 100644 --- a/components/taghints.py +++ b/components/taghints.py @@ -302,7 +302,7 @@ # Sort the hints by key -_TAG_HINTS = dict(sorted(_TAG_HINTS.items())) +_TAG_HINTS_SORTED = dict(sorted(_TAG_HINTS.items())) # convert into proper objects TAG_HINTS: Dict[str, TagHint] = { key: TagHint( @@ -313,7 +313,7 @@ inline_keyboard=InlineKeyboardMarkup(value["buttons"]) if "buttons" in value else None, group_command=value.get("group_command", False), ) - for key, value in _TAG_HINTS.items() + for key, value in _TAG_HINTS_SORTED.items() } TAG_HINTS_PATTERN = re.compile( # case insensitive