From c1724ec879673759a337705c98a5d5bdca59fd10 Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Thu, 26 May 2022 19:29:19 +0000 Subject: [PATCH] Restyle --- examples/chef/chef.py | 2 +- examples/chef/chef_util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 2b718aff7fdd71..6fb07d8c846e4c 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -262,7 +262,7 @@ def main(argv: Sequence[str]) -> None: print(f"Generating files in {_CHEF_ZZZ_ROOT} for all devices", flush=True) for device_dir_item in os.listdir(_CHEF_DEVICES_DIR): target_file_ext = ".zap" - if device_dir_item.endswith(target_file_ext): # and device_dir_item in chef_util.ci_allowlist: + if device_dir_item.endswith(target_file_ext): # and device_dir_item in chef_util.ci_allowlist: device_name = device_dir_item[:-len(target_file_ext)] print(f"Generating files for {device_name}", flush=True) device_out_dir = os.path.join(_CHEF_ZZZ_ROOT, device_name) diff --git a/examples/chef/chef_util.py b/examples/chef/chef_util.py index 9b96008d50837d..856207cacbac62 100644 --- a/examples/chef/chef_util.py +++ b/examples/chef/chef_util.py @@ -45,7 +45,7 @@ def generate_device_manifest(chef_devices_dir: str, include_zap_submod: bool = F ci_manifest = {} for device_dir_item in os.listdir(chef_devices_dir): target_file_ext = ".zap" - if device_dir_item.endswith(target_file_ext): # and device_dir_item in ci_allowlist: + if device_dir_item.endswith(target_file_ext): # and device_dir_item in ci_allowlist: device_name = device_dir_item[:-len(target_file_ext)] device_file_path = os.path.join(chef_devices_dir, device_dir_item) with open(device_file_path, "rb") as device_file: