From 03c35ae4c36d7ad2ca7d2d9879fd1840aa372815 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Wed, 1 Jul 2020 16:53:16 +0200 Subject: [PATCH] [__init__] Pre-commit cleanup --- beat/__init__.py | 1 + beat/backend/__init__.py | 1 + beat/backend/python/__init__.py | 2 +- beat/backend/python/execution/__init__.py | 13 ++++++++++--- beat/backend/python/scripts/__init__.py | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/beat/__init__.py b/beat/__init__.py index efd951b..fbefb59 100644 --- a/beat/__init__.py +++ b/beat/__init__.py @@ -34,4 +34,5 @@ ################################################################################### # see https://docs.python.org/3/library/pkgutil.html from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) diff --git a/beat/backend/__init__.py b/beat/backend/__init__.py index efd951b..fbefb59 100644 --- a/beat/backend/__init__.py +++ b/beat/backend/__init__.py @@ -34,4 +34,5 @@ ################################################################################### # see https://docs.python.org/3/library/pkgutil.html from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) diff --git a/beat/backend/python/__init__.py b/beat/backend/python/__init__.py index 61ffc19..efef237 100644 --- a/beat/backend/python/__init__.py +++ b/beat/backend/python/__init__.py @@ -31,4 +31,4 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # # -################################################################################### \ No newline at end of file +################################################################################### diff --git a/beat/backend/python/execution/__init__.py b/beat/backend/python/execution/__init__.py index a847978..fe09e1d 100644 --- a/beat/backend/python/execution/__init__.py +++ b/beat/backend/python/execution/__init__.py @@ -34,9 +34,16 @@ ################################################################################### -from .database import DBExecutor from .algorithm import AlgorithmExecutor +from .database import DBExecutor from .loop import LoopExecutor - -from .messagehandlers import MessageHandler from .messagehandlers import LoopMessageHandler +from .messagehandlers import MessageHandler + +__all__ = [ + "AlgorithmExecutor", + "DBExecutor", + "LoopExecutor", + "LoopMessageHandler", + "MessageHandler", +] diff --git a/beat/backend/python/scripts/__init__.py b/beat/backend/python/scripts/__init__.py index 61ffc19..efef237 100644 --- a/beat/backend/python/scripts/__init__.py +++ b/beat/backend/python/scripts/__init__.py @@ -31,4 +31,4 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # # -################################################################################### \ No newline at end of file +################################################################################### -- GitLab