Skip to content

Commit c57c35b

Browse files
committed
Fix code style issues with Black
1 parent 6958aea commit c57c35b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

twitchio/ext/commands/meta.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ def __new__(mcs, *args, **kwargs):
4747
self._commands = {}
4848

4949
for name, mem in inspect.getmembers(self):
50-
if isinstance(mem, (CogEvent, Command)) and name.startswith(
51-
("cog_", "bot_")
52-
): # Invalid method prefixes
50+
if isinstance(mem, (CogEvent, Command)) and name.startswith(("cog_", "bot_")): # Invalid method prefixes
5351
raise RuntimeError(f'The event or command "{name}" starts with an invalid prefix (cog_ or bot_).')
5452

5553
if isinstance(mem, CogEvent):

0 commit comments

Comments
 (0)