@@ -58,19 +58,15 @@ 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 (
62- dedent (
63- """\
61+ click .echo (dedent ("""\
6462
6563 sam pipeline init generates a pipeline configuration file that your CI/CD system
6664 can use to deploy serverless applications using AWS SAM.
6765 We will guide you through the process to bootstrap resources for each stage,
6866 then walk through the details necessary for creating the pipeline config file.
6967
7068 Please ensure you are in the root folder of your SAM application before you begin.
71- """
72- )
73- )
69+ """ ))
7470
7571 pipeline_template_source_question = Choice (
7672 key = "pipeline-template-source" ,
@@ -176,9 +172,7 @@ def _prompt_run_bootstrap_within_pipeline_init(
176172 "you can still reference other bootstrapped resources." ,
177173 default = True ,
178174 ):
179- click .secho (
180- dedent (
181- """\
175+ click .secho (dedent ("""\
182176
183177 For each stage, we will ask for [1] stage definition, [2] account details, and [3]
184178 reference application build resources in order to bootstrap these pipeline
@@ -187,9 +181,7 @@ def _prompt_run_bootstrap_within_pipeline_init(
187181 We recommend using an individual AWS account profiles for each stage in your
188182 pipeline. You can set these profiles up using aws configure or ~/.aws/credentials. See
189183 [https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-set-up-credentials.html].
190- """
191- )
192- ) # pylint: disable=C0301
184+ """ )) # pylint: disable=C0301
193185
194186 click .echo (Colored ().bold (f"\n Stage { len (stage_configuration_names ) + 1 } Setup\n " ))
195187 do_bootstrap (
@@ -221,15 +213,11 @@ def _prompt_run_bootstrap_within_pipeline_init(
221213 )
222214 return True
223215 else :
224- click .echo (
225- dedent (
226- """\
216+ click .echo (dedent ("""\
227217 To set up stage(s), please quit the process using Ctrl+C and use one of the following commands:
228218 sam pipeline init --bootstrap To be guided through the stage and config file creation process.
229219 sam pipeline bootstrap To specify details for an individual stage.
230- """
231- )
232- )
220+ """ ))
233221 click .prompt (
234222 "To reference stage resources bootstrapped in a different account, press enter to proceed" , default = ""
235223 )
0 commit comments