Cleanup: quiet Python linter warnings
This commit is contained in:
@@ -174,7 +174,7 @@ def is_ignore_dna_name(name):
|
||||
return False
|
||||
|
||||
|
||||
def write_member(fw, indent, b, theme, ls):
|
||||
def write_member(fw, indent, _blend, _theme, ls):
|
||||
path_old = ()
|
||||
|
||||
for key, value in ls:
|
||||
|
||||
@@ -30,7 +30,7 @@ class PrintStructC99(gdb.Command):
|
||||
first_line = string.split('\n')[0]
|
||||
return first_line.split('=')[1][:-1].strip()
|
||||
|
||||
def invoke(self, arg, from_tty):
|
||||
def invoke(self, arg, _from_tty):
|
||||
ret_ptype = gdb.execute('ptype {}'.format(arg), to_string=True)
|
||||
tname = self.extract_typename(ret_ptype)
|
||||
print('{} {} = {{'.format(tname, arg))
|
||||
|
||||
@@ -292,7 +292,7 @@ class App:
|
||||
def main() -> int:
|
||||
root = Tk()
|
||||
|
||||
app = App(root)
|
||||
_app = App(root)
|
||||
root.title("Cursor Maker")
|
||||
|
||||
root.mainloop()
|
||||
|
||||
Reference in New Issue
Block a user