diff options
author | xengineering <me@xengineering.eu> | 2025-05-24 11:19:48 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-05-24 11:19:48 +0200 |
commit | 2184ee617f1d6ac24a6e31733ba09b52e1eaa061 (patch) | |
tree | 356b09928390a9ced308c06740ad8759cb4cb382 | |
parent | ca28bf9b784fd2c57133c1f8b5a6d99de7d10c6b (diff) | |
download | iot-contact-2184ee617f1d6ac24a6e31733ba09b52e1eaa061.tar iot-contact-2184ee617f1d6ac24a6e31733ba09b52e1eaa061.tar.zst iot-contact-2184ee617f1d6ac24a6e31733ba09b52e1eaa061.zip |
tools: Format Python scripts with `black`
-rwxr-xr-x | tools/build_zephyr.py | 5 | ||||
-rwxr-xr-x | tools/configure_zephyr.py | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/build_zephyr.py b/tools/build_zephyr.py index 1d9e783..5dd9e47 100755 --- a/tools/build_zephyr.py +++ b/tools/build_zephyr.py @@ -38,10 +38,7 @@ def main() -> None: check=True, ) - shutil.copy( - build_tree / "zephyr" / args.binary_name, - output_dir / args.target_name - ) + shutil.copy(build_tree / "zephyr" / args.binary_name, output_dir / args.target_name) if __name__ == "__main__": diff --git a/tools/configure_zephyr.py b/tools/configure_zephyr.py index e709063..f4707c6 100755 --- a/tools/configure_zephyr.py +++ b/tools/configure_zephyr.py @@ -43,7 +43,7 @@ def main() -> None: command.append(f"-DEXTRA_CONF_FILE={args.extra_config}") if args.signing_key is not None: - command.append(f"-DCONFIG_BOOT_SIGNATURE_KEY_FILE=\"{args.signing_key}\"") + command.append(f'-DCONFIG_BOOT_SIGNATURE_KEY_FILE="{args.signing_key}"') subprocess.run(command, shell=False, check=True) |