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>
diff --git a/scripts/sanity_chk/scl.py b/scripts/sanity_chk/scl.py
index 6c73035..9159549 100644
--- a/scripts/sanity_chk/scl.py
+++ b/scripts/sanity_chk/scl.py
@@ -46,8 +46,8 @@
def _yaml_validate(data, schema):
if not schema:
return
- c = pykwalify.core.Core(source_data = data, schema_data = schema)
- c.validate(raise_exception = True)
+ c = pykwalify.core.Core(source_data=data, schema_data=schema)
+ c.validate(raise_exception=True)
except ImportError as e:
log.warning("can't import pykwalify; won't validate YAML (%s)", e)