diff --git a/pylintrc b/pylintrc index 1b7461be51c..bec3c1dd92c 100644 --- a/pylintrc +++ b/pylintrc @@ -36,7 +36,6 @@ disable= too-many-lines, unnecessary-comprehension, unrecognized-inline-option, - unused-import, use-a-generator, using-constant-test, wrong-import-order, diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py index 94246a3cab9..958604752f5 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py @@ -21,8 +21,6 @@ def show_endpoint_waf_policy_link(client: EndpointsOperations, profile_name: str, endpoint_name: str): - from azure.mgmt.cdn.models import (EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink) - link = client.get(resource_group_name, profile_name, endpoint_name).web_application_firewall_policy_link if link is not None: return link