From b1d66075b13c40606bb2d0bd8f90275b8f2e8abb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2026 15:33:27 +0200 Subject: workflows/ci: use default Black settings --- test/src/lib/logging.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/src/lib/logging.py') diff --git a/test/src/lib/logging.py b/test/src/lib/logging.py index 663eb3a..aed0eeb 100644 --- a/test/src/lib/logging.py +++ b/test/src/lib/logging.py @@ -13,7 +13,7 @@ import multiprocessing as mp @contextmanager def child_logging_thread(): # Delegating logging to the parent logger. - ctx = mp.get_context('spawn') + ctx = mp.get_context("spawn") queue = ctx.Queue() listener = logging.handlers.QueueListener(queue, logging.getLogger()) listener.start() @@ -26,16 +26,16 @@ def child_logging_thread(): @contextmanager def configure_logging_in_child(queue): config = { - 'version': 1, - 'handlers': { - 'sink': { - 'class': 'logging.handlers.QueueHandler', - 'queue': queue, + "version": 1, + "handlers": { + "sink": { + "class": "logging.handlers.QueueHandler", + "queue": queue, }, }, - 'root': { - 'handlers': ['sink'], - 'level': 'DEBUG', + "root": { + "handlers": ["sink"], + "level": "DEBUG", }, } logging.config.dictConfig(config) -- cgit v1.3