Skip to content

Commit 0ed7b96

Browse files
committed
fix lint for latest black
1 parent c5b712a commit 0ed7b96

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

aat/engine/engine.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -455,17 +455,13 @@ async def processEvent(self, event: Event, strategy: Strategy = None) -> None:
455455
continue
456456

457457
# TODO make cleaner? move to somewhere not in critical path?
458-
if (
459-
event.type
460-
in (
461-
EventType.TRADE,
462-
EventType.OPEN,
463-
EventType.CHANGE,
464-
EventType.CANCEL,
465-
EventType.DATA,
466-
)
467-
and not self.manager.dataSubscriptions(handler, event)
468-
):
458+
if event.type in (
459+
EventType.TRADE,
460+
EventType.OPEN,
461+
EventType.CHANGE,
462+
EventType.CANCEL,
463+
EventType.DATA,
464+
) and not self.manager.dataSubscriptions(handler, event):
469465
continue
470466

471467
try:

0 commit comments

Comments
 (0)