From 26bf76fc0b1ec6fa47345f24d4260a1de112a3ca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 3 Aug 2024 07:22:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sceptre/plan/actions.py | 4 +++- tests/test_actions.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sceptre/plan/actions.py b/sceptre/plan/actions.py index b44af91af..08994c4e9 100644 --- a/sceptre/plan/actions.py +++ b/sceptre/plan/actions.py @@ -141,7 +141,9 @@ def update(self): } if self.stack.disable_rollback: - update_stack_kwargs.update({"DisableRollback": self.stack.disable_rollback}) + update_stack_kwargs.update( + {"DisableRollback": self.stack.disable_rollback} + ) update_stack_kwargs.update(self.stack.template.get_boto_call_parameter()) update_stack_kwargs.update(self._get_role_arn()) diff --git a/tests/test_actions.py b/tests/test_actions.py index b8688d09c..877ed3977 100644 --- a/tests/test_actions.py +++ b/tests/test_actions.py @@ -309,7 +309,9 @@ def test_update_disable_rollback_overrides_on_failure( "DisableRollback": True, }, ) - mock_wait_for_completion.assert_called_once_with(sentinel.stack_timeout, boto_response=ANY) + mock_wait_for_completion.assert_called_once_with( + sentinel.stack_timeout, boto_response=ANY + ) @patch("sceptre.plan.actions.StackActions._wait_for_completion") def test_update_cancels_after_timeout(self, mock_wait_for_completion):