Pieter De Gendt
775db0e63a
scripts: west_commands: runners: Fix f-string (UP032)
...
Replace .format() calls with f-strings.
See https://docs.astral.sh/ruff/rules/f-string/
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-11-22 17:40:37 +01:00
Pieter De Gendt
bf7f41d880
scripts: west_commands: runners: Sort and format imports (I001)
...
Apply sorting and formatting rules on imports.
See
https://docs.astral.sh/ruff/rules/unsorted-imports/
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-11-22 17:40:37 +01:00
Pieter De Gendt
e8294b4590
scripts: west_commands: runners: Fix assert-false (B011)
...
Prefer AssertionError instead of assert False.
See https://docs.astral.sh/ruff/rules/assert-false/
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-11-22 17:40:37 +01:00
Anas Nashif
be60134421
west: add native_sim flash, debugserver command
...
Add 'west flash' support which in the case of native_sim just start the
built application.
Reuse existing runner and rename it to be more generic as it does more
than just debugging now.
Also add debugserver command.
Fixes #36706
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-03-12 12:57:18 -04:00