Skip to content

Commit 986e0fa

Browse files
committed
Fix code style issues with Black
1 parent 09c0d65 commit 986e0fa

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

twitchio/parse.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,18 @@
3030
if typing.TYPE_CHECKING:
3131
from .websocket import WSConnection
3232

33-
ACTIONS = ("JOIN", "PART", "PING", "PRIVMSG", "PRIVMSG(ECHO)", "USERSTATE", "MODE", "RECONNECT", "WHISPER", "USERNOTICE")
33+
ACTIONS = (
34+
"JOIN",
35+
"PART",
36+
"PING",
37+
"PRIVMSG",
38+
"PRIVMSG(ECHO)",
39+
"USERSTATE",
40+
"MODE",
41+
"RECONNECT",
42+
"WHISPER",
43+
"USERNOTICE",
44+
)
3445
ACTIONS2 = ("USERSTATE", "ROOMSTATE", "PRIVMSG", "USERNOTICE", "WHISPER")
3546
USER_SUB = re.compile(r":(?P<user>.*)!")
3647
TMI = "tmi.twitch.tv"

twitchio/websocket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,13 +407,13 @@ async def _userstate(self, parsed):
407407

408408
async def _usernotice(self, parsed):
409409
log.debug(f'ACTION: USERNOTICE:: {parsed["channel"]}')
410-
410+
411411
channel = Channel(name=parsed["channel"], websocket=self)
412412
rawData = parsed["groups"][0]
413413
tags = dict(x.split("=") for x in rawData.split(";"))
414414

415415
self.dispatch("raw_usernotice", channel, tags)
416-
416+
417417
async def _join(self, parsed):
418418
log.debug(f'ACTION: JOIN:: {parsed["channel"]}')
419419
channel = parsed["channel"]

0 commit comments

Comments
 (0)