scripts: west_commands: runners: Fix f-string-missing-placeholders (F541)
Constant strings should not be f-strings. See https://docs.astral.sh/ruff/rules/f-string-missing-placeholders/ Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
c0d08e5212
commit
7f72dd3a0f
2 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue