8
8
9
9
from textwrap import dedent
10
10
11
- from west .commands import WestCommand
12
-
13
11
from run_common import add_parser_common , do_run_common
12
+ from west .commands import WestCommand
14
13
15
14
16
15
class Debug (WestCommand ):
17
16
18
17
def __init__ (self ):
19
- super (Debug , self ).__init__ (
18
+ super ().__init__ (
20
19
'debug' ,
21
20
# Keep this in sync with the string in west-commands.yml.
22
21
'flash and interactively debug a Zephyr application' ,
@@ -37,7 +36,7 @@ def do_run(self, my_args, runner_args):
37
36
class DebugServer (WestCommand ):
38
37
39
38
def __init__ (self ):
40
- super (DebugServer , self ).__init__ (
39
+ super ().__init__ (
41
40
'debugserver' ,
42
41
# Keep this in sync with the string in west-commands.yml.
43
42
'connect to board and launch a debug server' ,
@@ -61,7 +60,7 @@ def do_run(self, my_args, runner_args):
61
60
class Attach (WestCommand ):
62
61
63
62
def __init__ (self ):
64
- super (Attach , self ).__init__ (
63
+ super ().__init__ (
65
64
'attach' ,
66
65
# Keep this in sync with the string in west-commands.yml.
67
66
'interactively debug a board' ,
@@ -79,7 +78,7 @@ def do_run(self, my_args, runner_args):
79
78
class Rtt (WestCommand ):
80
79
81
80
def __init__ (self ):
82
- super (Rtt , self ).__init__ (
81
+ super ().__init__ (
83
82
'rtt' ,
84
83
# Keep this in sync with the string in west-commands.yml.
85
84
'open an rtt shell' ,
0 commit comments