From c93166f71c9e0cf9129afbaa97bc9304b58915f7 Mon Sep 17 00:00:00 2001 From: Sisira Panchagnula Date: Thu, 1 Feb 2018 16:06:14 -0800 Subject: [PATCH] FW: Pylint --- src/webapps/azext_webapps/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/webapps/azext_webapps/__init__.py b/src/webapps/azext_webapps/__init__.py index f18e8ae9a52..6ed0b4123ab 100644 --- a/src/webapps/azext_webapps/__init__.py +++ b/src/webapps/azext_webapps/__init__.py @@ -4,6 +4,9 @@ # -------------------------------------------------------------------------------------------- from azure.cli.core import AzCommandsLoader + + # pylint: disable=unused-import + import azext_webapps._help @@ -13,8 +16,8 @@ def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType webapps_custom = CliCommandType( operations_tmpl='azext_webapps.custom#{}') - super(WebappsExtCommandLoader, self).__init__(cli_ctx=cli_ctx, - custom_command_type=webapps_custom, + super(WebappsExtCommandLoader, self).__init__(cli_ctx=cli_ctx, + custom_command_type=webapps_custom, min_profile="2017-03-10-profile") def load_command_table(self, _): @@ -26,7 +29,7 @@ def load_arguments(self, _): with self.argument_context('webapp quickstart') as c: c.argument('name', options_list=['--name', '-n'], help='name of the new webapp') c.argument('dryrun', - help="shows summary of the create operation instead of actually creating and deploying the app", + help="shows summary of the create and deploy operation instead of executing it", default=False, action='store_true')