From a48e37608f7190a8da51f61d4b7e71b13118a11b Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Wed, 20 Nov 2024 17:06:37 +0100 Subject: [PATCH] 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 --- scripts/west_commands/runners/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/west_commands/runners/core.py b/scripts/west_commands/runners/core.py index 69491f1990d..588e381e254 100644 --- a/scripts/west_commands/runners/core.py +++ b/scripts/west_commands/runners/core.py @@ -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.