Skip to content

Commit 199ed70

Browse files
committed
autoformat
1 parent 08e0a58 commit 199ed70

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

decrypt_oracle/.chalice/pipeline.py

+3-10
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
class AllowEverywhere(AWS.Statement):
3636
"""Shortcut for creating IAM Statements that Allow to Resource "*"."""
37+
3738
def __init__(self, *args, **kwargs):
3839
my_kwargs = dict(Effect=AWS.Allow, Resource=["*"])
3940
my_kwargs.update(kwargs)
@@ -314,17 +315,9 @@ def _deploy_or_update_template(template: Template, github_token: str) -> None:
314315
cloudformation = boto3.client("cloudformation")
315316

316317
if _stack_exists(cloudformation):
317-
return _update_existing_stack(
318-
cloudformation=cloudformation,
319-
template=template,
320-
github_token=github_token,
321-
)
318+
return _update_existing_stack(cloudformation=cloudformation, template=template, github_token=github_token)
322319

323-
return _deploy_new_stack(
324-
cloudformation=cloudformation,
325-
template=template,
326-
github_token=github_token,
327-
)
320+
return _deploy_new_stack(cloudformation=cloudformation, template=template, github_token=github_token)
328321

329322

330323
def _setup_logging() -> None:

0 commit comments

Comments
 (0)