qmk format-python.

This commit is contained in:
Nick Brassel 2024-11-21 17:09:55 +11:00
parent 67da837e0b
commit 1824091604
No known key found for this signature in database

View File

@ -154,10 +154,7 @@ def command_args_str(cli, command_name):
args[arg_name] = val args[arg_name] = val
return "\n".join( return "\n".join(f"// {arg_name.ljust(max_length)} | {val}" for arg_name, val in args.items())
f"// {arg_name.ljust(max_length)} | {val}"
for arg_name, val in args.items()
)
def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, command_name): def generate_subs(cli, out_bytes, *, font_metadata=None, image_metadata=None, command_name):