From de9eca7e86bfd5bbd8c72aa398c68069fff4d9c9 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 9 Aug 2023 21:44:36 +0200 Subject: [PATCH] tools: pylint gdb-sd_dump_hashmaps.py --- tools/gdb-sd_dump_hashmaps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py index d2388b71715..57f825a09cc 100644 --- a/tools/gdb-sd_dump_hashmaps.py +++ b/tools/gdb-sd_dump_hashmaps.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: LGPL-2.1-or-later +# pylint: disable=consider-using-f-string import gdb @@ -9,7 +10,7 @@ class sd_dump_hashmaps(gdb.Command): def __init__(self): super().__init__("sd_dump_hashmaps", gdb.COMMAND_DATA, gdb.COMPLETE_NONE) - def invoke(self, arg, from_tty): + def invoke(self, arg, _from_tty): d = gdb.parse_and_eval("hashmap_debug_list") hashmap_type_info = gdb.parse_and_eval("hashmap_type_info") uchar_t = gdb.lookup_type("unsigned char")