scripts: Fix random typo'd whitespace
Reported by pylint's 'bad-whitespace' warning. Not gonna enable this warning in the CI check, because it flags stuff like deliberately aligning assignments and gets too cultish. Just a cleanup pass. For whatever reason, the common convention in Python is to skip spaces around '=' when passing keyword arguments and giving default arguments: f(x=3, y=4) def f(x, y=8): ... Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
46263acd5a
commit
0d39a10fbb
14 changed files with 22 additions and 22 deletions
|
@ -26,12 +26,12 @@ for section in config.sections():
|
|||
else:
|
||||
tc[opt] = value
|
||||
|
||||
test = { section : tc}
|
||||
test = {section : tc}
|
||||
tests.append(test)
|
||||
|
||||
y['tests'] = tests
|
||||
if sample:
|
||||
y['sample'] = { 'name': "TBD", 'description': "TBD" }
|
||||
y['sample'] = {'name': "TBD", 'description': "TBD"}
|
||||
|
||||
with open(out_file, "w") as f:
|
||||
yaml.dump(y, f, width=50, indent=4, default_flow_style=False)
|
||||
yaml.dump(y, f, width=50, indent=4, default_flow_style=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue