@@ -58,15 +58,19 @@ def do_interactive(self) -> None:
5858 runs its specific questionnaire then generates the pipeline config file
5959 based on the template and user's responses
6060 """
61- click .echo (dedent ("""\
61+ click .echo (
62+ dedent (
63+ """\
6264
6365 sam pipeline init generates a pipeline configuration file that your CI/CD system
6466 can use to deploy serverless applications using AWS SAM.
6567 We will guide you through the process to bootstrap resources for each stage,
6668 then walk through the details necessary for creating the pipeline config file.
6769
6870 Please ensure you are in the root folder of your SAM application before you begin.
69- """ ))
71+ """
72+ )
73+ )
7074
7175 pipeline_template_source_question = Choice (
7276 key = "pipeline-template-source" ,
@@ -172,7 +176,9 @@ def _prompt_run_bootstrap_within_pipeline_init(
172176 "you can still reference other bootstrapped resources." ,
173177 default = True ,
174178 ):
175- click .secho (dedent ("""\
179+ click .secho (
180+ dedent (
181+ """\
176182
177183 For each stage, we will ask for [1] stage definition, [2] account details, and [3]
178184 reference application build resources in order to bootstrap these pipeline
@@ -181,7 +187,9 @@ def _prompt_run_bootstrap_within_pipeline_init(
181187 We recommend using an individual AWS account profiles for each stage in your
182188 pipeline. You can set these profiles up using aws configure or ~/.aws/credentials. See
183189 [https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-set-up-credentials.html].
184- """ )) # pylint: disable=C0301
190+ """
191+ )
192+ ) # pylint: disable=C0301
185193
186194 click .echo (Colored ().bold (f"\n Stage { len (stage_configuration_names ) + 1 } Setup\n " ))
187195 do_bootstrap (
@@ -213,11 +221,15 @@ def _prompt_run_bootstrap_within_pipeline_init(
213221 )
214222 return True
215223 else :
216- click .echo (dedent ("""\
224+ click .echo (
225+ dedent (
226+ """\
217227 To set up stage(s), please quit the process using Ctrl+C and use one of the following commands:
218228 sam pipeline init --bootstrap To be guided through the stage and config file creation process.
219229 sam pipeline bootstrap To specify details for an individual stage.
220- """ ))
230+ """
231+ )
232+ )
221233 click .prompt (
222234 "To reference stage resources bootstrapped in a different account, press enter to proceed" , default = ""
223235 )
0 commit comments