Skip to content

Commit bd91789

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 49c90b9 commit bd91789

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

discord/appinfo.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ def __init__(self, state: ConnectionState, data: AppInfoPayload):
234234
self.bot_public: bool = data.get("bot_public", False)
235235
self.bot_require_code_grant: bool = data.get("bot_require_code_grant", False)
236236
owner_data = data.get("owner")
237-
self.owner: User | None = state.create_user(owner_data) if owner_data is not None else None
237+
self.owner: User | None = (
238+
state.create_user(owner_data) if owner_data is not None else None
239+
)
238240

239241
team: TeamPayload | None = data.get("team")
240242
self.team: Team | None = Team(state, team) if team else None
@@ -596,7 +598,9 @@ def __init__(
596598
self.guild = guild
597599
self.user = user
598600

599-
def _encode_install_params(self, value: AppInstallParams | None) -> dict[str, object] | None:
601+
def _encode_install_params(
602+
self, value: AppInstallParams | None
603+
) -> dict[str, object] | None:
600604
if value is None:
601605
return None
602606
return {"oauth2_install_params": value.to_payload()}

0 commit comments

Comments
 (0)