Skip to content

moving lint errors fixes to release-1.0.2 branch #1469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release-1.0.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion azure-devops/azext_devops/dev/repos/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def load_repos_help():
type: group
short-summary: Manage Git repositories import
long-summary: This command imports the public repo fabrikam-open-source to the empty Git repo fabrikam-open-source for the default configuration
az devops configure --defaults organization=https://dev.azure.com/fabrikamprime project="Fabrikam Fiber".
examples:
- name: Manage Git repositories import.
text: |
Expand Down
6 changes: 3 additions & 3 deletions azure-devops/azext_devops/dev/team/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def load_global_args(context):
context.argument('organization', options_list=('--organization', '--org'),
help='Azure DevOps organization URL. You can configure the default organization using '
'az devops configure -d organization=ORG_URL. Required if not configured as '
'default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/')
'default or picked up via git config. Example: `https://dev.azure.com/MyOrganizationName/`')
context.argument('detect', arg_type=get_three_state_flag(),
help='Automatically detect organization.')
context.argument('project', options_list=('--project', '-p'),
Expand All @@ -41,11 +41,11 @@ def load_global_args(context):
def load_team_arguments(self, _):
with self.argument_context('devops login') as context:
context.argument('organization',
help='Azure DevOps organization URL. Example: https://dev.azure.com/MyOrganizationName')
help='Azure DevOps organization URL. Example: `https://dev.azure.com/MyOrganizationName`')

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

with self.argument_context('devops configure') as context:
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/team/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
def configure(defaults=None, use_git_aliases=None, list_config=False):
"""Configure the Azure DevOps CLI or view your configuration.
:param defaults: Space separated 'name=value' pairs for common arguments defaults,
e.g. '--defaults project=my-project-name organization=https://dev.azure.com/organizationName
e.g. '--defaults project=my-project-name organization=my-org-url
arg=value'. Use '' to clear the defaults, e.g. --defaults project=''.
:type defaults: str
:param use_git_aliases: Set to 'true' to configure Git aliases global git config file
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/team/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def credential_set(organization=None):

def credential_clear(organization=None):
"""Clear the credential for all or a particular organization
:param organization: Azure Devops organization URL. Example: https://dev.azure.com/MyOrganizationName/.
:param organization: Azure Devops organization URL. Example: `https://dev.azure.com/MyOrganizationName/`.
If no organization is specified, all organizations will be logged out.
:type organization: str
"""
Expand Down
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/team/service_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def create_azurerm_service_endpoint(name, azure_rm_tenant_id, azure_rm_service_p
:param azure_rm_subscription_id: subscription id for azure rm service endpoint
:type azure_rm_subscription_id: str
:param azure_rm_service_principal_certificate_path: Path to (.pem) which is certificate.
Create using command "openssl pkcs12 -in file.pfx -out file.pem -nodes -password pass:<password_here>".
Create using command "openssl pkcs12 -in file.pfx -out file.pem -nodes -password pass:password_here".
More details : https://aka.ms/azure-devops-cli-azurerm-service-endpoint
:type azure_rm_service_principal_certificate_path: str
:param azure_rm_subscription_name: name of azure subscription for azure rm service endpoint
Expand Down
2 changes: 1 addition & 1 deletion doc/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Command

Arguments
--defaults -d : Space separated 'name=value' pairs for common arguments defaults, e.g. '--
defaults project=my-project-name organization=https://dev.azure.com/organizationName arg=value' Use '' to
defaults project=my-project-name organization=my-org-url arg=value' Use '' to
clear the defaults, e.g. --defaults project=''.
-- list -l : Lists the contents of the config file.
--use-git-aliases : Set to 'yes' to configure Git aliiases global git config file (to enable
Expand Down