diff --git a/arkindex_worker/worker/base.py b/arkindex_worker/worker/base.py
index 59a88297eac1654402e203f20b4fbfe93dd32df6..320aed8c9f4d7af41ec8d95c0967e8dd06e28cbc 100644
--- a/arkindex_worker/worker/base.py
+++ b/arkindex_worker/worker/base.py
@@ -168,7 +168,9 @@ class BaseWorker(object):
             )
             configuration_id = worker_run.get("configuration_id")
             if configuration_id:
-                worker_configuration = self.request("RetrieveWorkerConfiguration", id=configuration_id)
+                worker_configuration = self.request(
+                    "RetrieveWorkerConfiguration", id=configuration_id
+                )
                 self.user_configuration = worker_configuration.get("configuration")
                 if self.user_configuration:
                     logger.info("Loaded user configuration from WorkerRun")
diff --git a/tests/test_base_worker.py b/tests/test_base_worker.py
index 39a1e0c67ed01e1daee534123e0382927776ea59..5d17d091cdd8a7db22a41f3a8fd53ecb731f710a 100644
--- a/tests/test_base_worker.py
+++ b/tests/test_base_worker.py
@@ -176,6 +176,7 @@ def test_configure_worker_run_missing_worker_conf(
 
     assert worker.user_configuration == {}
 
+
 def test_configure_worker_run_missing_conf(
     mocker, monkeypatch, responses, mock_config_api
 ):
@@ -198,6 +199,7 @@ def test_configure_worker_run_missing_conf(
 
     assert worker.user_configuration is None
 
+
 def test_load_missing_secret():
     worker = BaseWorker()
     worker.api_client = MockApiClient()