Skip to content

Commit 71eabf6

Browse files
committed
Black Formatting
Fix formatting from PR
1 parent b6f793c commit 71eabf6

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

twitchio/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ async def fetch_cheermotes(self, user_id: int = None):
572572
"""
573573
data = await self._http.get_cheermotes(str(user_id) if user_id else None)
574574
return [models.CheerEmote(self._http, x) for x in data]
575-
575+
576576
async def fetch_global_emotes(self):
577577
"""|coro|
578578
@@ -1033,4 +1033,4 @@ async def event_channel_join_failure(self, channel: str):
10331033
channel: `str`
10341034
The channel name that was attempted to be joined.
10351035
"""
1036-
logger.error(f'The channel "{channel}" was unable to be joined. Check the channel is valid.')
1036+
logger.error(f'The channel "{channel}" was unable to be joined. Check the channel is valid.')

twitchio/models.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,7 @@ class GlobalEmote:
196196
The background themes that the emote is available in.
197197
"""
198198

199-
__slots__ = (
200-
"id",
201-
"name",
202-
"images",
203-
"format",
204-
"scale",
205-
"theme_mode",
206-
"template"
207-
)
199+
__slots__ = ("id", "name", "images", "format", "scale", "theme_mode", "template")
208200

209201
def __init__(self, http: "TwitchHTTP", data: dict):
210202
self.id: str = data["id"]
@@ -244,11 +236,7 @@ class ChannelEmote(GlobalEmote):
244236
The background themes that the emote is available in.
245237
"""
246238

247-
__slots__ = (
248-
"tier",
249-
"type",
250-
"set_id"
251-
)
239+
__slots__ = ("tier", "type", "set_id")
252240

253241
def __init__(self, http: "TwitchHTTP", data: dict):
254242
super().__init__(http, data)

twitchio/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ async def fetch_following_count(self, token: Optional[str] = None) -> int:
568568
"""
569569
data = await self._http.get_follow_count(token=token, from_id=str(self.id))
570570
return data["total"]
571-
571+
572572
async def fetch_channel_emotes(self):
573573
"""|coro|
574574

0 commit comments

Comments
 (0)