Skip to content

Commit d7794be

Browse files
committed
Placate our code review robot overlords
1 parent 5c521f1 commit d7794be

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

strax/processor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# flake8: noqa
2+
# Legacy import, used in a single place in straxen.
3+
from .processors.threaded_mailbox import SHMExecutor

strax/processors/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
from .threaded_mailbox import *
33
from .single_thread import *
44

5+
# This is redundant with the star-imports above, but some flake8
6+
# versions require this
7+
from .threaded_mailbox import ThreadedMailboxProcessor
8+
from .single_thread import SingleThreadProcessor
9+
510
PROCESSORS = {
611
"default": ThreadedMailboxProcessor,
712
"threaded_mailbox": ThreadedMailboxProcessor,

0 commit comments

Comments
 (0)