Skip to content

Commit 6437822

Browse files
committed
Linting again again
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
1 parent 3a83c68 commit 6437822

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/durabletask/azext_durabletask/_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def load_arguments(self, _): # pylint: disable=unused-argument
1212
with self.argument_context('durabletask orchestration list') as c:
1313
c.argument('max_items', options_list=['--max-items', '-m'],
14-
help='The maximum number of orchestrations to return')
14+
help='The maximum number of orchestrations to return')
1515
c.argument('scheduler_name', options_list=['--scheduler-name ', '-s'], help='The name of the scheduler.')
1616
c.argument('taskhub_name', options_list=['--taskhub-name', '-t'], help='The name of the taskhub.')
1717
c.argument('start_index', options_list=['--start-index'], help='The index of the first orchestration to list.')
@@ -20,4 +20,4 @@ def load_arguments(self, _): # pylint: disable=unused-argument
2020
c.argument('scheduler_name', options_list=['--scheduler-name ', '-s'], help='The name of the scheduler.')
2121
c.argument('taskhub_name', options_list=['--taskhub-name', '-t'], help='The name of the taskhub.')
2222
c.argument('orchestration_id', options_list=['--orchestration-id', '--id'],
23-
help='The ID of the orchestration to show.')
23+
help='The ID of the orchestration to show.')

src/durabletask/azext_durabletask/custom.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .aaz.latest.durabletask.scheduler import Show
99
from azure.core.exceptions import HttpResponseError
1010

11+
1112
def list_orchestrations(cmd, resource_group_name, scheduler_name, taskhub_name, max_items=100, start_index=0):
1213
# Get FQDN of the scheduler
1314

@@ -33,7 +34,7 @@ def list_orchestrations(cmd, resource_group_name, scheduler_name, taskhub_name,
3334
client = httpx.Client(http2=True)
3435
response = client.post(endpoint, json=payload, headers=headers)
3536
if response.status_code == 404:
36-
raise HttpResponseError("Error retrieving orchestration details." \
37+
raise HttpResponseError("Error retrieving orchestration details."
3738
" Please check the scheduler name, taskhub name, and resource group.")
3839
return response.json()
3940

0 commit comments

Comments
 (0)