Browse Source

scripts: west_commands: runners: Ignore missing abstract decorator (B027)

The empty function is intentional.

https://docs.astral.sh/ruff/rules/empty-method-without-abstract-decorator/

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
pull/81768/head
Pieter De Gendt 8 months ago committed by Benjamin Cabé
parent
commit
a48e37608f
  1. 2
      scripts/west_commands/runners/core.py

2
scripts/west_commands/runners/core.py

@ -624,7 +624,7 @@ class ZephyrBinaryRunner(abc.ABC): @@ -624,7 +624,7 @@ class ZephyrBinaryRunner(abc.ABC):
def do_add_parser(cls, parser):
'''Hook for adding runner-specific options.'''
@classmethod
@classmethod # noqa: B027
def args_from_previous_runner(cls, previous_runner,
args: argparse.Namespace):
'''Update arguments from a previously created runner.

Loading…
Cancel
Save