Fix code style issues with Black

This commit is contained in:
Gnome
2021-10-07 17:34:29 +01:00
parent eca1d9a470
commit 9e31aad96d
4 changed files with 7 additions and 5 deletions

View File

@@ -1694,7 +1694,9 @@ class Group(GroupMixin[CogT], Command[CogT, P, T]):
"name": self.name,
"type": int(not (nested - 1)) + 1,
"description": self.short_doc or "no description",
"options": [cmd.to_application_command(nested=nested + 1) for cmd in sorted(self.commands, key=lambda x: x.name)],
"options": [
cmd.to_application_command(nested=nested + 1) for cmd in sorted(self.commands, key=lambda x: x.name)
],
}