Skip to content

Commit 12f8085

Browse files
committed
addesssing more style issues
1 parent 189fbcf commit 12f8085

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/migrate/azext_migrate/helpers/replication/get/_execute_get.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _format_protected_item(item):
178178
return formatted_item
179179

180180

181-
def _print_protected_item_details(item):
181+
def _print_protected_item_details(item): # pylint: disable=too-many-nested-blocks
182182
"""
183183
Print detailed information about a protected item.
184184

src/migrate/azext_migrate/helpers/replication/job/_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99

1010

11-
def calculate_duration(start_time, end_time):
11+
def calculate_duration(start_time, end_time): # pylint: disable=too-many-return-statements
1212
"""
1313
Calculate duration between two timestamps.
1414

src/migrate/azext_migrate/helpers/replication/new/_validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _process_v3_dict(extended_details, app_map):
8282
return app_map
8383

8484

85-
def validate_server_parameters(
85+
def validate_server_parameters( # pylint: disable=too-many-locals,too-many-branches
8686
cmd,
8787
machine_id,
8888
machine_index,

src/migrate/azext_migrate/helpers/replication/remove/_execute_delete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ def execute_removal(cmd, subscription_id, target_object_id,
183183
return job_details
184184

185185
# Job details unavailable but we have the job name
186-
display_removal_success(
187-
protected_item_name, job_name, resource_group_name)
188-
return None
186+
display_removal_success(
187+
protected_item_name, job_name, resource_group_name)
188+
return None
189189
else:
190190
# No job name available
191191
log_removal_success(protected_item_name)

0 commit comments

Comments
 (0)