diff --git a/scripts/west_commands/runners/linkserver.py b/scripts/west_commands/runners/linkserver.py index f1a4630dd87..7cf419a705c 100644 --- a/scripts/west_commands/runners/linkserver.py +++ b/scripts/west_commands/runners/linkserver.py @@ -90,7 +90,7 @@ class LinkServerBinaryRunner(ZephyrBinaryRunner): {DEFAULT_LINKSERVER_EXE}''') # user may need to override settings. parser.add_argument('--override', required=False, action='append', - help=f'''configuration overrides as defined bylinkserver. Example: /device/memory/0/location=0xcafecafe''') + help='''configuration overrides as defined bylinkserver. Example: /device/memory/0/location=0xcafecafe''') @classmethod def do_create(cls, cfg, args): diff --git a/scripts/west_commands/runners/nrfutil.py b/scripts/west_commands/runners/nrfutil.py index 0f83c78f7d6..165c03f2feb 100644 --- a/scripts/west_commands/runners/nrfutil.py +++ b/scripts/west_commands/runners/nrfutil.py @@ -108,7 +108,7 @@ class NrfUtilBinaryRunner(NrfBinaryRunner): indent=4) + '\n' hex_dir = Path(self.hex_).parent - json_file = os.fspath(hex_dir / f'generated_nrfutil_batch.json') + json_file = os.fspath(hex_dir / 'generated_nrfutil_batch.json') with open(json_file, "w") as f: f.write(batch)