Skip to content

Commit 1b7f6c0

Browse files
authored
Fixing lint errors (#1467)
1 parent eb481c1 commit 1b7f6c0

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

azure-devops/azext_devops/dev/repos/_help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def load_repos_help():
4141
type: group
4242
short-summary: Manage Git repositories import
4343
long-summary: This command imports the public repo fabrikam-open-source to the empty Git repo fabrikam-open-source for the default configuration
44-
az devops configure --defaults organization=https://dev.azure.com/fabrikamprime project="Fabrikam Fiber".
44+
4545
examples:
4646
- name: Manage Git repositories import.
4747
text: |

azure-devops/azext_devops/dev/team/arguments.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def load_global_args(context):
2828
context.argument('organization', options_list=('--organization', '--org'),
2929
help='Azure DevOps organization URL. You can configure the default organization using '
3030
'az devops configure -d organization=ORG_URL. Required if not configured as '
31-
'default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/')
31+
'default or picked up via git config. Example: `https://dev.azure.com/MyOrganizationName/`')
3232
context.argument('detect', arg_type=get_three_state_flag(),
3333
help='Automatically detect organization.')
3434
context.argument('project', options_list=('--project', '-p'),
@@ -41,11 +41,11 @@ def load_global_args(context):
4141
def load_team_arguments(self, _):
4242
with self.argument_context('devops login') as context:
4343
context.argument('organization',
44-
help='Azure DevOps organization URL. Example: https://dev.azure.com/MyOrganizationName')
44+
help='Azure DevOps organization URL. Example: `https://dev.azure.com/MyOrganizationName`')
4545

4646
with self.argument_context('devops logout') as context:
4747
context.argument('organization',
48-
help='Azure DevOps organization URL. Example: https://dev.azure.com/MyOrganizationName/. '
48+
help='Azure DevOps organization URL. Example: `https://dev.azure.com/MyOrganizationName/`. '
4949
'If no organization is specified, all organizations will be logged out.')
5050

5151
with self.argument_context('devops configure') as context:

azure-devops/azext_devops/dev/team/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
def configure(defaults=None, use_git_aliases=None, list_config=False):
2727
"""Configure the Azure DevOps CLI or view your configuration.
2828
:param defaults: Space separated 'name=value' pairs for common arguments defaults,
29-
e.g. '--defaults project=my-project-name organization=https://dev.azure.com/organizationName
29+
e.g. '--defaults project=my-project-name organization=my-org-url
3030
arg=value'. Use '' to clear the defaults, e.g. --defaults project=''.
3131
:type defaults: str
3232
:param use_git_aliases: Set to 'true' to configure Git aliases global git config file

azure-devops/azext_devops/dev/team/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def credential_set(organization=None):
4040

4141
def credential_clear(organization=None):
4242
"""Clear the credential for all or a particular organization
43-
:param organization: Azure Devops organization URL. Example: https://dev.azure.com/MyOrganizationName/.
43+
:param organization: Azure Devops organization URL. Example: `https://dev.azure.com/MyOrganizationName/`.
4444
If no organization is specified, all organizations will be logged out.
4545
:type organization: str
4646
"""

azure-devops/azext_devops/dev/team/service_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def create_azurerm_service_endpoint(name, azure_rm_tenant_id, azure_rm_service_p
101101
:param azure_rm_subscription_id: subscription id for azure rm service endpoint
102102
:type azure_rm_subscription_id: str
103103
:param azure_rm_service_principal_certificate_path: Path to (.pem) which is certificate.
104-
Create using command "openssl pkcs12 -in file.pfx -out file.pem -nodes -password pass:<password_here>".
104+
Create using command "openssl pkcs12 -in file.pfx -out file.pem -nodes -password pass:password_here".
105105
More details : https://aka.ms/azure-devops-cli-azurerm-service-endpoint
106106
:type azure_rm_service_principal_certificate_path: str
107107
:param azure_rm_subscription_name: name of azure subscription for azure rm service endpoint

doc/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Command
6767
6868
Arguments
6969
--defaults -d : Space separated 'name=value' pairs for common arguments defaults, e.g. '--
70-
defaults project=my-project-name organization=https://dev.azure.com/organizationName arg=value' Use '' to
70+
defaults project=my-project-name organization=my-org-url arg=value' Use '' to
7171
clear the defaults, e.g. --defaults project=''.
7272
-- list -l : Lists the contents of the config file.
7373
--use-git-aliases : Set to 'yes' to configure Git aliiases global git config file (to enable

0 commit comments

Comments
 (0)