From 9ca1b0ffe7f0bf61bc697b4cd2d6b1e713aafb62 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Sun, 1 Dec 2024 20:05:05 +0100 Subject: [PATCH] samples: boards: coresight_stm: pytest: Shorten long lines Simplify string building and reduce line length. Signed-off-by: Pieter De Gendt --- samples/boards/nordic/coresight_stm/pytest/test_stm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/boards/nordic/coresight_stm/pytest/test_stm.py b/samples/boards/nordic/coresight_stm/pytest/test_stm.py index 2187805f15f..fb2203e809e 100644 --- a/samples/boards/nordic/coresight_stm/pytest/test_stm.py +++ b/samples/boards/nordic/coresight_stm/pytest/test_stm.py @@ -122,11 +122,11 @@ def _nrfutil_dictionary_from_serial( BUILD_DIR = str(dut.device_config.build_dir) logger.debug(f"{BUILD_DIR=}") config_str = f"{STM_M_ID['app']}:{BUILD_DIR}/coresight_stm/zephyr/log_dictionary.json" - config_str = config_str + f",{STM_M_ID['rad']}:{BUILD_DIR}/remote_rad/zephyr/log_dictionary.json" + config_str += f",{STM_M_ID['rad']}:{BUILD_DIR}/remote_rad/zephyr/log_dictionary.json" if SB_CONFIG_APP_CPUPPR_RUN: - config_str = config_str + f",{STM_M_ID['ppr']}:{BUILD_DIR}/remote_ppr/zephyr/log_dictionary.json" + config_str += f",{STM_M_ID['ppr']}:{BUILD_DIR}/remote_ppr/zephyr/log_dictionary.json" if SB_CONFIG_APP_CPUFLPR_RUN: - config_str = config_str + f",{STM_M_ID['flpr']}:{BUILD_DIR}/remote_flpr/zephyr/log_dictionary.json" + config_str += f",{STM_M_ID['flpr']}:{BUILD_DIR}/remote_flpr/zephyr/log_dictionary.json" logger.debug(f"{config_str=}") cmd = (