Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1429)
Browse files Browse the repository at this point in the history
- [github.com/awslabs/cfn-python-lint: v0.83.8 → v0.85.0](aws-cloudformation/cfn-lint@v0.83.8...v0.85.0)
- [github.com/psf/black: 23.1.0 → 24.1.1](psf/black@23.1.0...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Jan 31, 2024
1 parent 58b9fef commit e97d783
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
hooks:
- id: yamllint
- repo: https://github.com/awslabs/cfn-python-lint
rev: v0.83.8
rev: v0.85.0
hooks:
- id: cfn-python-lint
args:
Expand All @@ -36,7 +36,7 @@ repos:
^.pre-commit-config.yaml
)
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/python-poetry/poetry
Expand Down
6 changes: 3 additions & 3 deletions sceptre/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ def _get_session(
"RoleSessionName": session_name,
}
if self.sceptre_role_session_duration:
assume_role_kwargs[
"DurationSeconds"
] = self.sceptre_role_session_duration
assume_role_kwargs["DurationSeconds"] = (
self.sceptre_role_session_duration
)
sts_response = sts_client.assume_role(**assume_role_kwargs)

credentials = sts_response["Credentials"]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_diffing/test_stack_differ.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ def test_diff__generated_template_has_no_echo_parameter__masks_value(self):
self.local_no_echo_parameters.append("hide_me")

expected_generated_config = self.expected_generated_config
expected_generated_config.parameters[
"hide_me"
] = StackDiffer.NO_ECHO_REPLACEMENT
expected_generated_config.parameters["hide_me"] = (
StackDiffer.NO_ECHO_REPLACEMENT
)

self.differ.diff(self.actions)

Expand Down

0 comments on commit e97d783

Please sign in to comment.