diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_anonymous_exchange_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_anonymous_exchange_client.py index 7d3e66ed3af3..0b4d611d01d1 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_anonymous_exchange_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_anonymous_exchange_client.py @@ -15,7 +15,7 @@ from azure.core.credentials import TokenCredential -class AnonymousACRExchangeClient(object): +class AnonymousACRExchangeClient(object): # pylint: disable=client-accepts-api-version-keyword """Class for handling oauth authentication requests :param endpoint: Azure Container Registry endpoint diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py index 368735a8bb47..1c68e8f54d12 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py @@ -16,13 +16,14 @@ from azure.core.credentials import TokenCredential -class ContainerRegistryApiVersion(str, Enum): + +class ContainerRegistryApiVersion(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta """Container Registry API version supported by this package""" V0_PREVIEW = "" -class ContainerRegistryBaseClient(object): +class ContainerRegistryBaseClient(object): # pylint: disable=client-accepts-api-version-keyword """Base class for ContainerRegistryClient :param str endpoint: Azure Container Registry endpoint diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py index d3f295f8405b..a40c773d5f66 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_exchange_client.py @@ -30,7 +30,7 @@ def on_response(self, request, response): pass -class ACRExchangeClient(object): +class ACRExchangeClient(object): # pylint: disable=client-accepts-api-version-keyword """Class for handling oauth authentication requests :param endpoint: Azure Container Registry endpoint diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py index 74dfc69bd7ca..9ab797410e72 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py @@ -312,7 +312,7 @@ def repository_name(self): return self._repository_name -class ArtifactArchitecture(str, Enum): +class ArtifactArchitecture(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta AMD64 = "amd64" ARM = "arm" @@ -329,7 +329,7 @@ class ArtifactArchitecture(str, Enum): WASM = "wasm" -class ArtifactOperatingSystem(str, Enum): +class ArtifactOperatingSystem(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta AIX = "aix" ANDROID = "android" diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_anonymous_exchange_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_anonymous_exchange_client.py index a42c0723c17f..229981061ced 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_anonymous_exchange_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_anonymous_exchange_client.py @@ -15,7 +15,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class AnonymousACRExchangeClient(object): +class AnonymousACRExchangeClient(object): # pylint: disable=client-accepts-api-version-keyword """Class for handling oauth authentication requests :param endpoint: Azure Container Registry endpoint diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py index f34e69e0ed18..8f928afc9a3e 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py @@ -15,13 +15,13 @@ from azure.core.credentials_async import AsyncTokenCredential -class ContainerRegistryApiVersion(str, Enum): +class ContainerRegistryApiVersion(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta """Container Registry API version supported by this package""" V0_PREVIEW = "" -class ContainerRegistryBaseClient(object): +class ContainerRegistryBaseClient(object): # pylint: disable=client-accepts-api-version-keyword """Base class for ContainerRegistryClient :param endpoint: Azure Container Registry endpoint diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py index 4260a0145899..06b79dafc62d 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_exchange_client.py @@ -28,7 +28,7 @@ def on_response(self, request: PipelineRequest, response: PipelineResponse) -> N pass -class ACRExchangeClient(object): +class ACRExchangeClient(object): # pylint: disable=client-accepts-api-version-keyword """Class for handling oauth authentication requests :param endpoint: Azure Container Registry endpoint diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py index d5620908be04..fe2fc43ec688 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py @@ -205,7 +205,7 @@ def api_version(self): return self._client._config.version # pylint: disable=protected-access -class TablesBaseClient(AccountHostsMixin): +class TablesBaseClient(AccountHostsMixin): # pylint: disable=client-accepts-api-version-keyword def __init__( # pylint: disable=missing-client-constructor-parameter-credential self, diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_entity.py b/sdk/tables/azure-data-tables/azure/data/tables/_entity.py index 90a8febdbbb8..385f0f6e2f12 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_entity.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_entity.py @@ -24,7 +24,7 @@ def metadata(self): return self._metadata -class EdmType(str, Enum): +class EdmType(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta """ Used by :class:`~.EntityProperty` to represent the type of the entity property to be stored by the Table service. diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_error.py b/sdk/tables/azure-data-tables/azure/data/tables/_error.py index ef01a55b1bd2..f1bc3fdb6dcd 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_error.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_error.py @@ -236,8 +236,8 @@ def _extract_index(self): class RequestTooLargeError(TableTransactionError): """An error response with status code 413 - Request Entity Too Large""" - -class TableErrorCode(str, Enum): +# pylint: disable=enum-must-be-uppercase +class TableErrorCode(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta # Generic storage values account_already_exists = "AccountAlreadyExists" account_being_created = "AccountBeingCreated" diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_models.py b/sdk/tables/azure-data-tables/azure/data/tables/_models.py index bb39c03cdc72..d03f5224a8d5 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_models.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_models.py @@ -535,24 +535,24 @@ class TablePayloadFormat(object): """Returns minimal type information for the entity properties plus some extra odata properties.""" -class UpdateMode(str, Enum): +class UpdateMode(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta REPLACE = "replace" MERGE = "merge" -class TransactionOperation(str, Enum): +class TransactionOperation(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta CREATE = "create" UPSERT = "upsert" UPDATE = "update" DELETE = "delete" -class SASProtocol(str, Enum): +class SASProtocol(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta HTTPS = "https" HTTP = "http" -class LocationMode(str, Enum): +class LocationMode(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta """ Specifies the location the request should be sent to. This mode only applies for RA-GRS accounts which allow secondary read access. All other account types diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py index 8baae91d2a9f..12bd3a0b17bf 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py @@ -46,7 +46,7 @@ from azure.core.credentials import AzureNamedKeyCredential, AzureSasCredential -class TableClient(TablesBaseClient): +class TableClient(TablesBaseClient): # pylint: disable=client-accepts-api-version-keyword """A client to interact with a specific Table in an Azure Tables account. :ivar str account_name: The name of the Tables account. diff --git a/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py b/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py index df3d2a8e541c..341db7b9c470 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/aio/_base_client_async.py @@ -44,7 +44,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class AsyncTablesBaseClient(AccountHostsMixin): +class AsyncTablesBaseClient(AccountHostsMixin): # pylint: disable=client-accepts-api-version-keyword def __init__( # pylint: disable=missing-client-constructor-parameter-credential self, diff --git a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py index 8f5a0629a9ea..de408b999fb1 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py @@ -42,7 +42,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class TableClient(AsyncTablesBaseClient): +class TableClient(AsyncTablesBaseClient): # pylint: disable=client-accepts-api-version-keyword """A client to interact with a specific Table in an Azure Tables account. :ivar str account_name: The name of the Tables account.