Skip to content

Commit 0374d1e

Browse files
restyled-commitsyeaissa
authored andcommitted
Restyled by autopep8
1 parent 735a208 commit 0374d1e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/build/builders/nxp.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
from .builder import BuilderOutput
2020
from .gn import GnBuilder
2121

22+
2223
class NxpOsUsed(Enum):
2324
FREERTOS = auto()
2425
ZEPHYR = auto()
26+
2527
def OsEnv(self):
2628
if self == NxpOsUsed.ZEPHYR:
2729
return 'zephyr'
@@ -30,6 +32,7 @@ def OsEnv(self):
3032
else:
3133
raise Exception('Unknown OS type: %r' % self)
3234

35+
3336
class NxpBoard(Enum):
3437
K32W0 = auto()
3538
K32W1 = auto()
@@ -183,9 +186,9 @@ def generate(self):
183186
cmd += '''
184187
west build -p --cmake-only -b {board_name} -d {out_folder} {example_folder} {build_args}
185188
'''.format(
186-
board_name = self.board.Name(),
187-
out_folder = self.output_dir,
188-
example_folder = self.app.BuildRoot(self.code_root, self.board),
189+
board_name=self.board.Name(),
190+
out_folder=self.output_dir,
191+
example_folder=self.app.BuildRoot(self.code_root, self.board),
189192
build_args=build_args).strip()
190193
self._Execute(['bash', '-c', cmd], title='Generating ' + self.identifier)
191194
else:

0 commit comments

Comments
 (0)