Skip to content

Commit 9d45a5b

Browse files
committed
fix issues with fmt: skip and multiline method signature
1 parent 3fd59ea commit 9d45a5b

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

atlassian/bamboo.py

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,17 @@ def _get_generator(
6262
logging.error(f"Broken response: {response}")
6363
yield response
6464

65-
def base_list_call(self, resource, expand, favourite, clover_enabled, max_results, label=None, start_index=0, **kwargs): # fmt: skip
65+
def base_list_call(
66+
self,
67+
resource,
68+
expand,
69+
favourite,
70+
clover_enabled,
71+
max_results,
72+
label=None,
73+
start_index=0,
74+
**kwargs,
75+
):
6676
flags = []
6777
params = {"max-results": max_results}
6878
if expand:
@@ -612,7 +622,14 @@ def delete_build_result(self, build_key):
612622
params = {"buildKey": plan_key, "buildNumber": build_number}
613623
return self.post(custom_resource, params=params, headers=self.form_token_headers)
614624

615-
def execute_build(self, plan_key, stage=None, execute_all_stages=True, custom_revision=None, **bamboo_variables): # fmt: skip
625+
def execute_build(
626+
self,
627+
plan_key,
628+
stage=None,
629+
execute_all_stages=True,
630+
custom_revision=None,
631+
**bamboo_variables,
632+
):
616633
"""
617634
Fire build execution for specified plan.
618635
!IMPORTANT! NOTE: for some reason, this method always execute all stages

atlassian/bitbucket/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2568,7 +2568,15 @@ def delete_code_insights_report(self, project_key, repository_slug, commit_id, r
25682568
url = self._url_code_insights_report(project_key, repository_slug, commit_id, report_key)
25692569
return self.delete(url)
25702570

2571-
def create_code_insights_report(self, project_key, repository_slug, commit_id, report_key, report_title, **report_params): # fmt: skip
2571+
def create_code_insights_report(
2572+
self,
2573+
project_key,
2574+
repository_slug,
2575+
commit_id,
2576+
report_key,
2577+
report_title,
2578+
**report_params,
2579+
):
25722580
"""
25732581
Create a new insight report, or replace the existing one
25742582
if a report already exists for the given repository_slug, commit, and report key.

0 commit comments

Comments
 (0)