west: runners: Remove unnecessary constructors
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>
This commit is contained in:
parent
bf128d09b3
commit
4094ee686e
2 changed files with 0 additions and 6 deletions
|
@ -10,9 +10,6 @@ from runners.core import ZephyrBinaryRunner, RunnerCaps
|
||||||
class QemuBinaryRunner(ZephyrBinaryRunner):
|
class QemuBinaryRunner(ZephyrBinaryRunner):
|
||||||
'''Place-holder for QEMU runner customizations.'''
|
'''Place-holder for QEMU runner customizations.'''
|
||||||
|
|
||||||
def __init__(self, cfg):
|
|
||||||
super(QemuBinaryRunner, self).__init__(cfg)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def name(cls):
|
def name(cls):
|
||||||
return 'qemu'
|
return 'qemu'
|
||||||
|
|
|
@ -12,9 +12,6 @@ from runners.core import ZephyrBinaryRunner, RunnerCaps
|
||||||
class XtensaBinaryRunner(ZephyrBinaryRunner):
|
class XtensaBinaryRunner(ZephyrBinaryRunner):
|
||||||
'''Runner front-end for xt-gdb.'''
|
'''Runner front-end for xt-gdb.'''
|
||||||
|
|
||||||
def __init__(self, cfg):
|
|
||||||
super(XtensaBinaryRunner, self).__init__(cfg)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def name(cls):
|
def name(cls):
|
||||||
return 'xtensa'
|
return 'xtensa'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue