From 21e0f03fd23b28e3aff1cd7d835064a0e11c26bd Mon Sep 17 00:00:00 2001 From: wonhyeongseo Date: Thu, 1 Sep 2022 09:00:36 +0900 Subject: [PATCH 1/3] fix: Initial cspell fixes for storage-datalake * Should revert generated files * Unify changes to _shared --- .vscode/cspell.json | 25 ++++++++++++++++++- .../_data_lake_directory_client.py | 2 +- .../filedatalake/_data_lake_file_client.py | 2 +- .../azure/storage/filedatalake/_download.py | 6 ++--- .../filedatalake/_list_paths_helper.py | 2 +- .../azure/storage/filedatalake/_models.py | 4 +-- .../storage/filedatalake/_path_client.py | 4 +-- .../storage/filedatalake/_shared/policies.py | 2 +- .../filedatalake/_shared/request_handlers.py | 2 +- .../_shared/shared_access_signature.py | 3 ++- .../storage/filedatalake/_shared/uploads.py | 2 +- .../filedatalake/_shared_access_signature.py | 2 +- .../aio/_data_lake_directory_client_async.py | 2 +- .../aio/_data_lake_file_client_async.py | 2 +- .../filedatalake/aio/_download_async.py | 6 ++--- .../filedatalake/aio/_list_paths_helper.py | 2 +- .../filedatalake/aio/_path_client_async.py | 4 +-- .../tests/test_file.py | 6 ++--- .../tests/test_file_system.py | 4 +-- .../tests/test_file_system_async.py | 2 +- .../tests/test_quick_query.py | 4 +-- 21 files changed, 56 insertions(+), 32 deletions(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index cc5464888fa2..f47722e84e56 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -6,6 +6,7 @@ "powershell", "python", "softwareTerms", + "lorem-ipsum", "en_us", "en-gb" ], @@ -89,7 +90,6 @@ "sdk/servicebus/azure-servicebus/**", "sdk/storage/azure-storage-queue/**", "sdk/synapse/azure-synapse-managedprivateendpoints/**", - "sdk/storage/azure-storage-file-datalake/**", "sdk/synapse/azure-synapse-spark/**", "sdk/storage/azure-storage-file-share/**", "sdk/synapse/azure-synapse/**", @@ -504,6 +504,29 @@ "undoc" ] }, + { + "filename": "sdk/storage/azure-storage-file-datalake/**", + "words": ["myfile", "dlake"] + }, + { + "filename": "sdk/storage/azure-storage-file-datalake/**/*.py", + "words": [ + "rwxrwxrwx", "rwxrw", "rwxr", "ABFS", "deletionid", "saoid", "testfs", + "mynewfilesystems", "myleasefilesystem", "mymetadatafilesystemsync", + "mypathfilesystem", "myclientfilesystem", "mydirectoryfilesystem", "myfilesystemforgetclient", + "mynewdirectory", "mydirectory", "mynewfile", "myfilesystem", "mynewfilesystem", + "myfilesystemforlistpaths", "cpkfile", "dont", "fsname", "fpath", "dname", "racwdlmeop", + "filesys", "nonexistentfs", "testid", "cpkdirectory", "cpksubdirectory" + ] + }, + { + "filename": "sdk/storage/azure-storage-file-datalake/**/*.md", + "words": ["thead", "tbody", "myfilesystem"] + }, + { + "filename": "sdk/storage/**/_shared/*.py", + "words": ["yarl", "mday"] + }, { "filename": "sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/**", "words":[ diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py index 2a93df0eae88..ee0f6ca93eee 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_directory_client.py @@ -304,7 +304,7 @@ def rename_directory(self, new_name, **kwargs): The value must have the following format: "{filesystem}/{directory}/{subdirectory}". :keyword source_lease: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must + the source path must have an active lease and the lease ID must match. :paramtype source_lease: ~azure.storage.filedatalake.DataLakeLeaseClient or str :keyword lease: diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py index a36e7c41759e..f90db84937b6 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_data_lake_file_client.py @@ -711,7 +711,7 @@ def rename_file(self, new_name, **kwargs): :keyword ~azure.storage.filedatalake.ContentSettings content_settings: ContentSettings object used to set path properties. :keyword source_lease: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must + the source path must have an active lease and the lease ID must match. :paramtype source_lease: ~azure.storage.filedatalake.DataLakeLeaseClient or str :keyword lease: diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py index 3c7d977c3760..d359fbde8595 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_download.py @@ -17,7 +17,7 @@ class StorageStreamDownloader(object): The properties of the file being downloaded. If only a range of the data is being downloaded, this will be reflected in the properties. :ivar int size: - The size of the total data in the stream. This will be the byte range if speficied, + The size of the total data in the stream. This will be the byte range if specified, otherwise the total size of the file. """ @@ -43,10 +43,10 @@ def read(self, size: Optional[int] = -1) -> bytes: is unspecified or is -1, all bytes will be read. :param size: - The number of bytes to download from the stream. Leave unsepcified + The number of bytes to download from the stream. Leave unspecified or set to -1 to download all bytes. :returns: - The requsted data as bytes. If the return value is empty, there is no more data to read. + The requested data as bytes. If the return value is empty, there is no more data to read. :rtype: bytes """ return self._downloader.read(size) diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py index e5cb8f65714d..1120b973ca35 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_list_paths_helper.py @@ -121,7 +121,7 @@ class PathPropertiesPaged(PageIterator): :param callable command: Function to retrieve the next page of items. :param str path: Filters the results to return only paths under the specified path. - :param int max_results: The maximum number of psths to retrieve per + :param int max_results: The maximum number of paths to retrieve per call. :param str continuation_token: An opaque continuation token. """ diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py index 8e655a8da37f..3d5e4fc19118 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_models.py @@ -409,7 +409,7 @@ def from_string(cls, permission): :param str permission: The string which dictates the read, add, create, write, or delete permissions. :return: A FileSystemSasPermissions object - :rtype: ~azure.storage.fildatalake.FileSystemSasPermissions + :rtype: ~azure.storage.filedatalake.FileSystemSasPermissions """ p_read = 'r' in permission p_add = 'a' in permission @@ -580,7 +580,7 @@ def from_string(cls, permission): :param str permission: The string which dictates the read, add, create, write, or delete permissions. :return: A FileSasPermissions object - :rtype: ~azure.storage.fildatalake.FileSasPermissions + :rtype: ~azure.storage.filedatalake.FileSasPermissions """ p_read = 'r' in permission p_add = 'a' in permission diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py index 2d8c14cbee12..62e46cc39d30 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_path_client.py @@ -758,7 +758,7 @@ def _rename_path(self, rename_source, **kwargs): ContentSettings object used to set path properties. :keyword source_lease: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must + the source path must have an active lease and the lease ID must match. :paramtype source_lease: ~azure.storage.filedatalake.DataLakeLeaseClient or str :keyword lease: @@ -914,7 +914,7 @@ def set_http_headers(self, content_settings=None, # type: Optional[ContentSetti # type: (...) -> Dict[str, Any] """Sets system properties on the file or directory. - If one property is set for the content_settings, all properties will be overriden. + If one property is set for the content_settings, all properties will be overridden. :param ~azure.storage.filedatalake.ContentSettings content_settings: ContentSettings object used to set file/directory properties. diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/policies.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/policies.py index 1e068d5188a8..e3c0252534a0 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/policies.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/policies.py @@ -82,7 +82,7 @@ def is_retry(response, mode): # pylint: disable=too-many-return-statements """ status = response.http_response.status_code if 300 <= status < 500: - # An exception occured, but in most cases it was expected. Examples could + # An exception occurred, but in most cases it was expected. Examples could # include a 309 Conflict or 412 Precondition Failed. if status == 404 and mode == LocationMode.SECONDARY: # Response code 404 should be retried if secondary was used. diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/request_handlers.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/request_handlers.py index 325825c53a09..7048358affc4 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/request_handlers.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/request_handlers.py @@ -134,7 +134,7 @@ def validate_and_format_range_headers( range_validation = None if check_content_md5: if start_range is None or end_range is None: - raise ValueError("Both start and end range requied for MD5 content validation.") + raise ValueError("Both start and end range required for MD5 content validation.") if end_range - start_range > 4 * 1024 * 1024: raise ValueError("Getting content MD5 for a range greater than 4MB is not supported.") range_validation = 'true' diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py index 03e04af1cb1c..3e1c10415fd6 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/shared_access_signature.py @@ -10,7 +10,8 @@ from .constants import X_MS_VERSION from . import sign_string, url_quote - +# cspell:ignoreRegExp rsc. +# cspell:ignoreRegExp s..?id class QueryStringConstants(object): SIGNED_SIGNATURE = 'sig' SIGNED_PERMISSION = 'sp' diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/uploads.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/uploads.py index 279f084ff970..4421dcd55090 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/uploads.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared/uploads.py @@ -586,7 +586,7 @@ def tell(self, *args, **kwargs): raise UnsupportedOperation("Data generator does not support tell.") def seek(self, *args, **kwargs): - raise UnsupportedOperation("Data generator is unseekable.") + raise UnsupportedOperation("Data generator is not seekable.") def read(self, size): data = self.leftover diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py index b464261c2300..6555dce5d2ec 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/_shared_access_signature.py @@ -325,7 +325,7 @@ def generate_file_sas( :param permission: The permissions associated with the shared access signature. The user is restricted to operations allowed by the permissions. - Permissions must be ordered racwdmeop. + Permissions must be ordered racwdlmeop. Required unless an id is given referencing a stored access policy which contains this field. This field must be omitted if it has been specified in an associated stored access policy. diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py index 5c0fa8a061be..c613061d6d9f 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_directory_client_async.py @@ -269,7 +269,7 @@ async def rename_directory(self, new_name, # type: str The value must have the following format: "{filesystem}/{directory}/{subdirectory}". :keyword source_lease: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must + the source path must have an active lease and the lease ID must match. :paramtype source_lease: ~azure.storage.filedatalake.aio.DataLakeLeaseClient or str :keyword lease: diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py index bc883e81002b..faff03459242 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_data_lake_file_client_async.py @@ -552,7 +552,7 @@ async def rename_file(self, new_name, **kwargs): :keyword ~azure.storage.filedatalake.ContentSettings content_settings: ContentSettings object used to set path properties. :keyword source_lease: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must + the source path must have an active lease and the lease ID must match. :paramtype source_lease: ~azure.storage.filedatalake.aio.DataLakeLeaseClient or str :keyword lease: diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py index dd77e59b7021..b55a394601c7 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_download_async.py @@ -17,7 +17,7 @@ class StorageStreamDownloader(object): The properties of the file being downloaded. If only a range of the data is being downloaded, this will be reflected in the properties. :ivar int size: - The size of the total data in the stream. This will be the byte range if speficied, + The size of the total data in the stream. This will be the byte range if specified, otherwise the total size of the file. """ @@ -43,10 +43,10 @@ async def read(self, size: Optional[int] = -1) -> bytes: is unspecified or is -1, all bytes will be read. :param size: - The number of bytes to download from the stream. Leave unsepcified + The number of bytes to download from the stream. Leave unspecified or set to -1 to download all bytes. :returns: - The requsted data as bytes. If the return value is empty, there is no more data to read. + The requested data as bytes. If the return value is empty, there is no more data to read. :rtype: bytes """ return await self._downloader.read(size) diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_list_paths_helper.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_list_paths_helper.py index 74ce2d778e28..2d1497437faf 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_list_paths_helper.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_list_paths_helper.py @@ -124,7 +124,7 @@ class PathPropertiesPaged(AsyncPageIterator): :param callable command: Function to retrieve the next page of items. :param str path: Filters the results to return only paths under the specified path. - :param int max_results: The maximum number of psths to retrieve per + :param int max_results: The maximum number of paths to retrieve per call. :param str continuation_token: An opaque continuation token. """ diff --git a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py index bff06eb9523f..f9f49ec2dcba 100644 --- a/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py +++ b/sdk/storage/azure-storage-file-datalake/azure/storage/filedatalake/aio/_path_client_async.py @@ -567,7 +567,7 @@ async def _rename_path(self, rename_source, **kwargs): :keyword ~azure.storage.filedatalake.ContentSettings content_settings: ContentSettings object used to set path properties. :keyword source_lease: A lease ID for the source path. If specified, - the source path must have an active lease and the leaase ID must + the source path must have an active lease and the lease ID must match. :paramtype source_lease: ~azure.storage.filedatalake.aio.DataLakeLeaseClient or str :keyword lease: @@ -714,7 +714,7 @@ async def set_http_headers(self, content_settings=None, # type: Optional[Conten # type: (...) -> Dict[str, Any] """Sets system properties on the file or directory. - If one property is set for the content_settings, all properties will be overriden. + If one property is set for the content_settings, all properties will be overridden. :param ~azure.storage.filedatalake.ContentSettings content_settings: ContentSettings object used to set file/directory properties. diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_file.py b/sdk/storage/azure-storage-file-datalake/tests/test_file.py index 6333cfcc46fb..816d3b94c43c 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_file.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_file.py @@ -639,7 +639,7 @@ def test_read_file_with_user_delegation_key(self, **kwargs): expiry=datetime.utcnow() + timedelta(hours=1), ) - # doanload the data and make sure it is the same as uploaded data + # download the data and make sure it is the same as uploaded data new_file_client = DataLakeFileClient(self.account_url(datalake_storage_account_name, 'dfs'), file_client.file_system_name, file_client.path_name, @@ -679,7 +679,7 @@ def test_set_acl_with_user_delegation_key(self, **kwargs): expiry=datetime.utcnow() + timedelta(hours=1), ) - # doanload the data and make sure it is the same as uploaded data + # download the data and make sure it is the same as uploaded data new_file_client = DataLakeFileClient(self.account_url(datalake_storage_account_name, 'dfs'), file_client.file_system_name, file_client.path_name, @@ -726,7 +726,7 @@ def test_preauthorize_user_with_user_delegation_key(self, **kwargs): preauthorized_agent_object_id="68390a19-a643-458b-b726-408abf67b4fc" ) - # doanload the data and make sure it is the same as uploaded data + # download the data and make sure it is the same as uploaded data new_file_client = DataLakeFileClient(self.account_url(datalake_storage_account_name, 'dfs'), file_client.file_system_name, file_client.path_name, diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_file_system.py b/sdk/storage/azure-storage-file-datalake/tests/test_file_system.py index 4c6d381abd1a..36bd2bc31596 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_file_system.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_file_system.py @@ -739,7 +739,7 @@ def test_list_paths_under_specific_path(self, datalake_storage_account_name, dat # create a file under the current directory file_client = subdir.create_file("file") - file_client.append_data(b"abced", 0, 5) + file_client.append_data(b"abced", 0, 5) # cspell:disable-line file_client.flush_data(5) generator1 = file_system.get_paths(path="dir10/subdir", max_results=2, upn=True).by_page() @@ -852,7 +852,7 @@ def test_get_root_directory_client(self, datalake_storage_account_name, datalake def test_file_system_sessions_closes_properly(self, datalake_storage_account_name, datalake_storage_account_key): self._setUp(datalake_storage_account_name, datalake_storage_account_key) # Arrange - file_system_client = self._create_file_system("fenrhxsbfvsdvdsvdsadb") + file_system_client = self._create_file_system("fenrhxsbfvsdvdsvdsadb") # cspell:disable-line with file_system_client as fs_client: with fs_client.get_file_client("file1.txt") as f_client: f_client.create_file() diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py b/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py index 38e92d081f0e..7d3b85479be6 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_file_system_async.py @@ -751,7 +751,7 @@ async def test_list_paths_under_specific_path_async( # create a file under the current directory file_client = await subdir.create_file("file") - await file_client.append_data(b"abced", 0, 5) + await file_client.append_data(b"abced", 0, 5) # cspell:disable-line await file_client.flush_data(5) generator1 = file_system.get_paths(path="dir10/subdir", max_results=2, upn=True).by_page() diff --git a/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py b/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py index e48016472de9..5b36beb01fe0 100644 --- a/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py +++ b/sdk/storage/azure-storage-file-datalake/tests/test_quick_query.py @@ -117,7 +117,7 @@ def _setUp(self, account_name, account_key): url = self.account_url(account_name, 'dfs') self.dsc = DataLakeServiceClient(url, credential=account_key, logging_enable=True) self.config = self.dsc._config - self.filesystem_name = self.get_resource_name('utqqcontainer') + self.filesystem_name = self.get_resource_name('utqqcontainer') # cspell:disable-line if not self.is_playback(): try: @@ -898,7 +898,7 @@ def test_quick_query_input_in_parquet_format(self, datalake_storage_account_name file_client = self.dsc.get_file_client(self.filesystem_name, file_name) expression = "select * from blobstorage where id < 1;" - expected_data = b"0,mdifjt55.ea3,mdifjt55.ea3\n" + expected_data = b"0,mdifjt55.ea3,mdifjt55.ea3\n" # cspell:disable-line parquet_path = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "./resources/parquet.parquet")) with open(parquet_path, "rb") as parquet_data: From c68d6a9cbe67d455147d82ff3a3259b59e9662b5 Mon Sep 17 00:00:00 2001 From: wonhyeongseo Date: Fri, 9 Sep 2022 12:57:45 +0900 Subject: [PATCH 2/3] fix: aggregate cspell into one --- .vscode/cspell.json | 56 ++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 21 deletions(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 4a57eac429f4..a88b3cf68548 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -154,6 +154,7 @@ "deserialization", "disablecov", "docfx", + "dont", "dotenv", "dpkg", "dtlk", @@ -233,6 +234,8 @@ "MSSQL", "mutex", "myacr", + "mydirectory", + "myfile", "nazsdk", "noarch", "NOPERM", @@ -377,7 +380,6 @@ "IOHTTP", "Zocor", "dann", - "dont", "UMLS", "nach", "año", @@ -547,27 +549,41 @@ }, { "filename": "sdk/storage/azure-storage-file-datalake/**", - "words": ["myfile", "dlake"] - }, - { - "filename": "sdk/storage/azure-storage-file-datalake/**/*.py", "words": [ - "rwxrwxrwx", "rwxrw", "rwxr", "ABFS", "deletionid", "saoid", "testfs", - "mynewfilesystems", "myleasefilesystem", "mymetadatafilesystemsync", - "mypathfilesystem", "myclientfilesystem", "mydirectoryfilesystem", "myfilesystemforgetclient", - "mynewdirectory", "mydirectory", "mynewfile", "myfilesystem", "mynewfilesystem", - "myfilesystemforlistpaths", "cpkfile", "dont", "fsname", "fpath", "dname", "racwdlmeop", - "filesys", "nonexistentfs", "testid", "cpkdirectory", "cpksubdirectory" + "dlake", + "rwxrwxrwx", + "rwxrw", + "rwxr", + "ABFS", + "mynewfilesystems", + "myleasefilesystem", + "mymetadatafilesystemsync", + "mypathfilesystem", + "myclientfilesystem", + "mydirectoryfilesystem", + "myfilesystemforgetclient", + "mynewdirectory", + "mynewfile", + "myfilesystem", + "mynewfilesystem", + "myfilesystemforlistpaths", + "fpath", + "fsname", + "dname", + "racwdlmeop", + "filesys", + "testfs", + "nonexistentfs", + "saoid", + "testid", + "deletionid", + "cpkfile", + "cpkdirectory", + "cpksubdirectory", + "thead", + "tbody" ] }, - { - "filename": "sdk/storage/azure-storage-file-datalake/**/*.md", - "words": ["thead", "tbody", "myfilesystem"] - }, - { - "filename": "sdk/storage/**/_shared/*.py", - "words": ["yarl", "mday"] - }, { "filename": "sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/**", "words":[ @@ -703,8 +719,6 @@ "rcwd", "rcwdl", "prevsharesnapshot", - "mydirectory", - "myfile", "mydir", "amet", "consectetur", From cf44f1445d3ee727a8939ad3d6d0e0403a21722d Mon Sep 17 00:00:00 2001 From: wonhyeongseo Date: Fri, 9 Sep 2022 13:02:06 +0900 Subject: [PATCH 3/3] fix: re-arrange words for readability --- .vscode/cspell.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index a88b3cf68548..cc7e41741f53 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -555,22 +555,21 @@ "rwxrw", "rwxr", "ABFS", - "mynewfilesystems", - "myleasefilesystem", - "mymetadatafilesystemsync", - "mypathfilesystem", - "myclientfilesystem", - "mydirectoryfilesystem", - "myfilesystemforgetclient", - "mynewdirectory", "mynewfile", - "myfilesystem", + "mynewdirectory", "mynewfilesystem", + "mynewfilesystems", + "myfilesystem", "myfilesystemforlistpaths", + "myfilesystemforgetclient", + "myclientfilesystem", + "mydirectoryfilesystem", + "myleasefilesystem", + "mypathfilesystem", + "mymetadatafilesystemsync", "fpath", "fsname", "dname", - "racwdlmeop", "filesys", "testfs", "nonexistentfs", @@ -581,7 +580,8 @@ "cpkdirectory", "cpksubdirectory", "thead", - "tbody" + "tbody", + "racwdlmeop" ] }, {