scripts: runners: clean up super() calls

We can just call super() instead of super(MyClassName, self). The
original extra verbosity is likely due to old habits of mine from
Python 2 which are no longer necessary, but got copy/pasted around.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-06-23 13:27:11 -07:00 committed by Carles Cufí
commit 7b93bd54d4
16 changed files with 16 additions and 16 deletions

View file

@ -17,7 +17,7 @@ class Esp32BinaryRunner(ZephyrBinaryRunner):
def __init__(self, cfg, device, baud=921600, flash_size='detect',
flash_freq='40m', flash_mode='dio', espidf='espidf',
bootloader_bin=None, partition_table_bin=None):
super(Esp32BinaryRunner, self).__init__(cfg)
super().__init__(cfg)
self.elf = cfg.elf_file
self.device = device
self.baud = baud