diff --git a/beat/backend/python/execution/algorithm.py b/beat/backend/python/execution/algorithm.py
index d57f08c06c251e7cd04ca784e84c72617f0732b8..abda1faee489875756dfd08e92ce6d8d1a5ae55d 100644
--- a/beat/backend/python/execution/algorithm.py
+++ b/beat/backend/python/execution/algorithm.py
@@ -44,15 +44,15 @@ A class that can setup and execute algorithm blocks on the backend
 
 import logging
 import os
+
 import simplejson
 import zmq
 
+from .. import stats
 from ..algorithm import Algorithm
+from ..helpers import AccessMode
 from ..helpers import create_inputs_from_configuration
 from ..helpers import create_outputs_from_configuration
-from ..helpers import AccessMode
-from .. import stats
-
 from .loop import LoopChannel
 
 logger = logging.getLogger(__name__)
diff --git a/beat/backend/python/execution/database.py b/beat/backend/python/execution/database.py
index f4d4611fbabc55761a94aa69443af6fffa99b253..cd5fbe688d4b1175d960398177aece9d232ffe25 100644
--- a/beat/backend/python/execution/database.py
+++ b/beat/backend/python/execution/database.py
@@ -43,6 +43,7 @@ Execution utilities
 """
 
 import os
+
 import simplejson
 
 from ..database import Database
diff --git a/beat/backend/python/execution/loop.py b/beat/backend/python/execution/loop.py
index 8ec7610eb6ab19bccd0c043f03ff511c6427e01c..259c7147c4260604a1911939daf35d73e960d66b 100644
--- a/beat/backend/python/execution/loop.py
+++ b/beat/backend/python/execution/loop.py
@@ -42,21 +42,20 @@ executor
 A class that can setup and execute loop algorithm blocks on the backend
 """
 
+import json
 import logging
 import os
-import json
+
 import zmq
 
 from ..algorithm import Algorithm
 from ..dataformat import DataFormat
+from ..exceptions import RemoteException
+from ..helpers import AccessMode
 from ..helpers import create_inputs_from_configuration
 from ..helpers import create_outputs_from_configuration
-from ..helpers import AccessMode
-from ..exceptions import RemoteException
-
 from .helpers import make_data_format
 
-
 logger = logging.getLogger(__name__)
 
 
diff --git a/beat/backend/python/execution/messagehandlers.py b/beat/backend/python/execution/messagehandlers.py
index 544cb449ef3a86699d262f1ea3d4a76683912608..5ea36a5577a92a33ef0115f92c265c2c4bb4af7f 100644
--- a/beat/backend/python/execution/messagehandlers.py
+++ b/beat/backend/python/execution/messagehandlers.py
@@ -44,19 +44,16 @@ communication.
 """
 
 import logging
+import threading
 
-import zmq
 import simplejson
-import threading
+import zmq
 
+from .. import baseformat
 from ..dataformat import DataFormat
 from ..exceptions import RemoteException
-
-from .. import baseformat
-
 from .helpers import make_data_format
 
-
 logger = logging.getLogger(__name__)