mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-24 13:25:50 +00:00
These just pass their arguments through to the base class constructor. Removing them means the base class constructor gets called directly instead. Fixes this pylint warning: W0235: Useless super delegation in method '__init__' (useless-super-delegation) Fixing pylint warnings for a CI check. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
32 lines
681 B
Python
32 lines
681 B
Python
# Copyright (c) 2017 Linaro Limited.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
'''Runner stub for QEMU.'''
|
|
|
|
from runners.core import ZephyrBinaryRunner, RunnerCaps
|
|
|
|
|
|
class QemuBinaryRunner(ZephyrBinaryRunner):
|
|
'''Place-holder for QEMU runner customizations.'''
|
|
|
|
@classmethod
|
|
def name(cls):
|
|
return 'qemu'
|
|
|
|
@classmethod
|
|
def capabilities(cls):
|
|
# This is a stub.
|
|
return RunnerCaps(commands=set())
|
|
|
|
@classmethod
|
|
def do_add_parser(cls, parser):
|
|
pass # Nothing to do.
|
|
|
|
@classmethod
|
|
def create(cls, cfg, args):
|
|
return QemuBinaryRunner(cfg)
|
|
|
|
def do_run(self, command, **kwargs):
|
|
pass
|