Bump pre-commit Hooks to Latest Versions (#4748)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-05-12 21:23:25 +02:00
committed by GitHub
parent 2fc04e1e10
commit c34e19edfd
25 changed files with 42 additions and 38 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ async def list_button(update: Update, context: ContextTypes.DEFAULT_TYPE) -> Non
# Get the data from the callback_data.
# If you're using a type checker like MyPy, you'll have to use typing.cast
# to make the checker get the expected type of the callback_data
number, number_list = cast(tuple[int, list[int]], query.data)
number, number_list = cast("tuple[int, list[int]]", query.data)
# append the number to the list
number_list.append(number)