Skip to content

Commit b41a53e

Browse files
nordic-seglrlubos
authored andcommitted
[nrf fromtree] samples: boards: coresight_stm: pytest: Shorten long lines
Simplify string building and reduce line length. Signed-off-by: Pieter De Gendt <[email protected]> Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 9ca1b0f)
1 parent 52a1cee commit b41a53e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/boards/nordic/coresight_stm/pytest/test_stm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ def _nrfutil_dictionary_from_serial(
122122
BUILD_DIR = str(dut.device_config.build_dir)
123123
logger.debug(f"{BUILD_DIR=}")
124124
config_str = f"{STM_M_ID['app']}:{BUILD_DIR}/coresight_stm/zephyr/log_dictionary.json"
125-
config_str = config_str + f",{STM_M_ID['rad']}:{BUILD_DIR}/remote_rad/zephyr/log_dictionary.json"
125+
config_str += f",{STM_M_ID['rad']}:{BUILD_DIR}/remote_rad/zephyr/log_dictionary.json"
126126
if SB_CONFIG_APP_CPUPPR_RUN:
127-
config_str = config_str + f",{STM_M_ID['ppr']}:{BUILD_DIR}/remote_ppr/zephyr/log_dictionary.json"
127+
config_str += f",{STM_M_ID['ppr']}:{BUILD_DIR}/remote_ppr/zephyr/log_dictionary.json"
128128
if SB_CONFIG_APP_CPUFLPR_RUN:
129-
config_str = config_str + f",{STM_M_ID['flpr']}:{BUILD_DIR}/remote_flpr/zephyr/log_dictionary.json"
129+
config_str += f",{STM_M_ID['flpr']}:{BUILD_DIR}/remote_flpr/zephyr/log_dictionary.json"
130130
logger.debug(f"{config_str=}")
131131

132132
cmd = (

0 commit comments

Comments
 (0)