From d8cb16ba7b92393b720e05eb7f06cf9f280e535c Mon Sep 17 00:00:00 2001 From: Romil Bhardwaj Date: Wed, 24 Jul 2024 23:16:22 -0700 Subject: [PATCH] lint --- tests/test_smoke.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/test_smoke.py b/tests/test_smoke.py index ff38f5bf947..ec431895ca0 100644 --- a/tests/test_smoke.py +++ b/tests/test_smoke.py @@ -46,8 +46,8 @@ import sky from sky import global_user_state from sky import jobs -from sky import skypilot_config from sky import serve +from sky import skypilot_config from sky.adaptors import cloudflare from sky.adaptors import ibm from sky.clouds import AWS @@ -1195,9 +1195,7 @@ def test_docker_storage_mounts(generic_cloud: str, image_id: str): s3_command = f'aws s3 ls {storage_name}/hello.txt' gsutil_command = f'gsutil ls gs://{storage_name}/hello.txt' azure_blob_command = TestStorageWithCredentials.cli_ls_cmd( - storage_lib.StoreType.AZURE, - storage_name, - suffix='hello.txt') + storage_lib.StoreType.AZURE, storage_name, suffix='hello.txt') if azure_mount_unsupported_ubuntu_version in image_id: include_private_mount = False if generic_cloud == 'azure' else True content = template.render(storage_name=storage_name, @@ -4293,7 +4291,8 @@ def cli_ls_cmd(store_type, bucket_name, suffix=''): config_storage_account = skypilot_config.get_nested( ('azure', 'storage_account'), None) storage_account_name = config_storage_account if ( - config_storage_account is not None) else ( + config_storage_account is not None + ) else ( storage_lib.AzureBlobStore.DEFAULT_STORAGE_ACCOUNT_NAME.format( region=default_region, user_hash=common_utils.get_user_hash()))